Skip to content

Commit

Permalink
New version, based on CDK 2.9
Browse files Browse the repository at this point in the history
  • Loading branch information
egonw committed Apr 7, 2024
1 parent db4366d commit f4d2d67
Show file tree
Hide file tree
Showing 184 changed files with 201 additions and 193 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

# Groovy Cheminformatics with the Chemistry Development Kit

[Edition 2.8-1](https://egonw.github.io/cdkbook/)
[Edition 2.9-0](https://egonw.github.io/cdkbook/)

**Egon L. Willighagen** PhD<br />
Long time CDK developer

© E.L. Willighagen 2011-2023
© E.L. Willighagen 2011-2024

License: CC-BY-SA 4.0 International

Expand All @@ -20,6 +20,6 @@ License: CC-BY-SA 4.0 International

## About

Further information: [http://chem-bla-ics.blogspot.com/](http://chem-bla-ics.blogspot.com/)
Further information: [https://chem-bla-ics.linkedchemistry.info/](https://chem-bla-ics.linkedchemistry.info/)

E.L. Willighagen <[email protected]>
2 changes: 1 addition & 1 deletion code/AdjacencyMatrixCalc.code.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# AdjacencyMatrixCalc.groovy
**Source code:**
```groovy
@Grab(group='org.openscience.cdk', module='cdk-bundle', version='2.8')
@Grab(group='org.openscience.cdk', module='cdk-bundle', version='2.9')
import org.openscience.cdk.*;
import org.openscience.cdk.config.*;
Expand Down
2 changes: 1 addition & 1 deletion code/AromaticAtomCountDescriptorParams.code.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# AromaticAtomCountDescriptorParams.groovy
**Source code:**
```groovy
@Grab(group='org.openscience.cdk', module='cdk-bundle', version='2.8')
@Grab(group='org.openscience.cdk', module='cdk-bundle', version='2.9')
import org.openscience.cdk.qsar.descriptors.molecular.*;
Expand Down
2 changes: 1 addition & 1 deletion code/AromaticBond.code.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# AromaticBond.groovy
**Source code:**
```groovy
@Grab(group='org.openscience.cdk', module='cdk-bundle', version='2.8')
@Grab(group='org.openscience.cdk', module='cdk-bundle', version='2.9')
import org.openscience.cdk.interfaces.*;
import org.openscience.cdk.*;
Expand Down
2 changes: 1 addition & 1 deletion code/AromaticBonds.code.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# AromaticBonds.groovy
**Source code:**
```groovy
@Grab(group='org.openscience.cdk', module='cdk-bundle', version='2.8')
@Grab(group='org.openscience.cdk', module='cdk-bundle', version='2.9')
import org.openscience.cdk.interfaces.*;
import org.openscience.cdk.smiles.*;
Expand Down
2 changes: 1 addition & 1 deletion code/AromaticSMILES.code.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# AromaticSMILES.groovy
**Source code:**
```groovy
@Grab(group='org.openscience.cdk', module='cdk-bundle', version='2.8')
@Grab(group='org.openscience.cdk', module='cdk-bundle', version='2.9')
import org.openscience.cdk.smiles.SmilesGenerator;
import org.openscience.cdk.interfaces.*;
Expand Down
2 changes: 1 addition & 1 deletion code/AromaticityDemo.code.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# AromaticityDemo.groovy
**Source code:**
```groovy
@Grab(group='org.openscience.cdk', module='cdk-bundle', version='2.8')
@Grab(group='org.openscience.cdk', module='cdk-bundle', version='2.9')
import org.openscience.cdk.interfaces.*;
import org.openscience.cdk.smiles.*;
Expand Down
2 changes: 1 addition & 1 deletion code/AtomContainerAddAtomsAndBonds.code.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# AtomContainerAddAtomsAndBonds.groovy
**Source code:**
```groovy
@Grab(group='org.openscience.cdk', module='cdk-bundle', version='2.8')
@Grab(group='org.openscience.cdk', module='cdk-bundle', version='2.9')
import org.openscience.cdk.interfaces.*;
import org.openscience.cdk.*;
Expand Down
2 changes: 1 addition & 1 deletion code/AtomContainerAddAtomsAndBonds2.code.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# AtomContainerAddAtomsAndBonds2.groovy
**Source code:**
```groovy
@Grab(group='org.openscience.cdk', module='cdk-bundle', version='2.8')
@Grab(group='org.openscience.cdk', module='cdk-bundle', version='2.9')
import org.openscience.cdk.interfaces.*;
import org.openscience.cdk.*;
Expand Down
6 changes: 3 additions & 3 deletions code/AtomContainersForLoopingInSet.code.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# AtomContainersForLoopingInSet.groovy
**Source code:**
```groovy
@Grab(group='org.openscience.cdk', module='cdk-bundle', version='2.8')
@Grab(group='org.openscience.cdk', module='cdk-bundle', version='2.9')
import org.openscience.cdk.silent.*;
import org.openscience.cdk.*;
Expand All @@ -20,6 +20,6 @@ for (i=0; i<set.getAtomContainerCount(); i++) {
**Output:**
```plain
Number of containers: 2
container 0 has hashcode 632168320
container 1 has hashcode 1761382759
container 0 has hashcode 517960153
container 1 has hashcode 551377008
```
6 changes: 3 additions & 3 deletions code/AtomContainersLoopingInSet.code.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# AtomContainersLoopingInSet.groovy
**Source code:**
```groovy
@Grab(group='org.openscience.cdk', module='cdk-bundle', version='2.8')
@Grab(group='org.openscience.cdk', module='cdk-bundle', version='2.9')
import org.openscience.cdk.silent.*;
import org.openscience.cdk.*;
Expand All @@ -20,6 +20,6 @@ for (atomContainer in set.atomContainers()) {
**Output:**
```plain
Number of containers: 2
container's hashcode 1263085541
container's hashcode 1281205497
container's hashcode 285831951
container's hashcode 32777062
```
2 changes: 1 addition & 1 deletion code/AtomCoordinates.code.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# AtomCoordinates.groovy
**Source code:**
```groovy
@Grab(group='org.openscience.cdk', module='cdk-bundle', version='2.8')
@Grab(group='org.openscience.cdk', module='cdk-bundle', version='2.9')
import org.openscience.cdk.interfaces.*;
import org.openscience.cdk.*;
Expand Down
2 changes: 1 addition & 1 deletion code/AtomCountDescriptorParams.code.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# AtomCountDescriptorParams.groovy
**Source code:**
```groovy
@Grab(group='org.openscience.cdk', module='cdk-bundle', version='2.8')
@Grab(group='org.openscience.cdk', module='cdk-bundle', version='2.9')
import org.openscience.cdk.qsar.descriptors.molecular.*;
Expand Down
2 changes: 1 addition & 1 deletion code/AtomLabels.code.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# AtomLabels.groovy
**Source code:**
```groovy
@Grab(group='org.openscience.cdk', module='cdk-bundle', version='2.8')
@Grab(group='org.openscience.cdk', module='cdk-bundle', version='2.9')
import org.openscience.cdk.templates.*;
import org.openscience.cdk.isomorphism.*;
Expand Down
2 changes: 1 addition & 1 deletion code/AtomTypePerception.code.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# AtomTypePerception.groovy
**Source code:**
```groovy
@Grab(group='org.openscience.cdk', module='cdk-bundle', version='2.8')
@Grab(group='org.openscience.cdk', module='cdk-bundle', version='2.9')
import org.openscience.cdk.interfaces.*;
import org.openscience.cdk.*;
Expand Down
2 changes: 1 addition & 1 deletion code/AtomTypePerceptionMolecule.code.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# AtomTypePerceptionMolecule.groovy
**Source code:**
```groovy
@Grab(group='org.openscience.cdk', module='cdk-bundle', version='2.8')
@Grab(group='org.openscience.cdk', module='cdk-bundle', version='2.9')
import org.openscience.cdk.interfaces.*;
import org.openscience.cdk.*;
Expand Down
2 changes: 1 addition & 1 deletion code/AtomTypeProperties.code.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# AtomTypeProperties.groovy
**Source code:**
```groovy
@Grab(group='org.openscience.cdk', module='cdk-bundle', version='2.8')
@Grab(group='org.openscience.cdk', module='cdk-bundle', version='2.9')
import org.openscience.cdk.interfaces.*;
import org.openscience.cdk.*;
Expand Down
2 changes: 1 addition & 1 deletion code/AtomTypeUnitTest.code.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# AtomTypeUnitTest.groovy
**Source code:**
```groovy
@Grab(group='org.openscience.cdk', module='cdk-bundle', version='2.8')
@Grab(group='org.openscience.cdk', module='cdk-bundle', version='2.9')
import java.net.UnknownHostException;
import org.openscience.cdk.silent.*;
Expand Down
2 changes: 1 addition & 1 deletion code/AtomTypeX.code.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# AtomTypeX.groovy
**Source code:**
```groovy
@Grab(group='org.openscience.cdk', module='cdk-bundle', version='2.8')
@Grab(group='org.openscience.cdk', module='cdk-bundle', version='2.9')
import org.openscience.cdk.interfaces.*;
import org.openscience.cdk.*;
Expand Down
2 changes: 1 addition & 1 deletion code/BioNameType.code.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# BioNameType.groovy
**Source code:**
```groovy
@Grab(group='org.openscience.cdk', module='cdk-bundle', version='2.8')
@Grab(group='org.openscience.cdk', module='cdk-bundle', version='2.9')
import org.openscience.cdk.interfaces.*;
import org.openscience.cdk.io.*;
Expand Down
2 changes: 1 addition & 1 deletion code/BitSetDemo.code.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# BitSetDemo.groovy
**Source code:**
```groovy
@Grab(group='org.openscience.cdk', module='cdk-bundle', version='2.8')
@Grab(group='org.openscience.cdk', module='cdk-bundle', version='2.9')
import java.util.BitSet;
bitset = new BitSet(10);
Expand Down
2 changes: 1 addition & 1 deletion code/BondOrders.code.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# BondOrders.groovy
**Source code:**
```groovy
@Grab(group='org.openscience.cdk', module='cdk-bundle', version='2.8')
@Grab(group='org.openscience.cdk', module='cdk-bundle', version='2.9')
import org.openscience.cdk.interfaces.*;
Expand Down
2 changes: 1 addition & 1 deletion code/BondStereos.code.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# BondStereos.groovy
**Source code:**
```groovy
@Grab(group='org.openscience.cdk', module='cdk-bundle', version='2.8')
@Grab(group='org.openscience.cdk', module='cdk-bundle', version='2.9')
import org.openscience.cdk.interfaces.*;
Expand Down
2 changes: 1 addition & 1 deletion code/Builders.code.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Builders.groovy
**Source code:**
```groovy
@Grab(group='org.openscience.cdk', module='cdk-bundle', version='2.8')
@Grab(group='org.openscience.cdk', module='cdk-bundle', version='2.9')
import org.openscience.cdk.interfaces.*;
import org.openscience.cdk.*;
Expand Down
2 changes: 1 addition & 1 deletion code/BuildersOldFashion.code.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# BuildersOldFashion.groovy
**Source code:**
```groovy
@Grab(group='org.openscience.cdk', module='cdk-bundle', version='2.8')
@Grab(group='org.openscience.cdk', module='cdk-bundle', version='2.9')
import org.openscience.cdk.interfaces.*;
import org.openscience.cdk.*;
Expand Down
2 changes: 1 addition & 1 deletion code/CDKAtomTypeProperties.code.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# CDKAtomTypeProperties.groovy
**Source code:**
```groovy
@Grab(group='org.openscience.cdk', module='cdk-bundle', version='2.8')
@Grab(group='org.openscience.cdk', module='cdk-bundle', version='2.9')
import org.openscience.cdk.interfaces.*;
import org.openscience.cdk.config.*;
Expand Down
2 changes: 1 addition & 1 deletion code/CDKConstantsProperties.code.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# CDKConstantsProperties.groovy
**Source code:**
```groovy
@Grab(group='org.openscience.cdk', module='cdk-bundle', version='2.8')
@Grab(group='org.openscience.cdk', module='cdk-bundle', version='2.9')
import org.openscience.cdk.*;
Expand Down
2 changes: 1 addition & 1 deletion code/CTR1.code.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# CTR1.groovy
**Source code:**
```groovy
@Grab(group='org.openscience.cdk', module='cdk-bundle', version='2.8')
@Grab(group='org.openscience.cdk', module='cdk-bundle', version='2.9')
import org.openscience.cdk.interfaces.*;
import org.openscience.cdk.io.*;
Expand Down
2 changes: 1 addition & 1 deletion code/CTR2.code.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# CTR2.groovy
**Source code:**
```groovy
@Grab(group='org.openscience.cdk', module='cdk-bundle', version='2.8')
@Grab(group='org.openscience.cdk', module='cdk-bundle', version='2.9')
import java.util.List;
import java.awt.*;
Expand Down
2 changes: 1 addition & 1 deletion code/CTR4.code.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# CTR4.groovy
**Source code:**
```groovy
@Grab(group='org.openscience.cdk', module='cdk-bundle', version='2.8')
@Grab(group='org.openscience.cdk', module='cdk-bundle', version='2.9')
import org.openscience.cdk.io.*;
import org.openscience.cdk.io.iterator.*;
Expand Down
2 changes: 1 addition & 1 deletion code/CalculateMolecularWeight.code.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# CalculateMolecularWeight.groovy
**Source code:**
```groovy
@Grab(group='org.openscience.cdk', module='cdk-bundle', version='2.8')
@Grab(group='org.openscience.cdk', module='cdk-bundle', version='2.9')
import org.openscience.cdk.interfaces.*;
import org.openscience.cdk.silent.SilentChemObjectBuilder;
Expand Down
2 changes: 1 addition & 1 deletion code/CalculateMolecularWeightImplicitHydrogens.code.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# CalculateMolecularWeightImplicitHydrogens.groovy
**Source code:**
```groovy
@Grab(group='org.openscience.cdk', module='cdk-bundle', version='2.8')
@Grab(group='org.openscience.cdk', module='cdk-bundle', version='2.9')
import org.openscience.cdk.*;
import org.openscience.cdk.interfaces.*;
Expand Down
2 changes: 1 addition & 1 deletion code/CalculateMolecularWeightShort.code.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# CalculateMolecularWeightShort.groovy
**Source code:**
```groovy
@Grab(group='org.openscience.cdk', module='cdk-bundle', version='2.8')
@Grab(group='org.openscience.cdk', module='cdk-bundle', version='2.9')
import org.openscience.cdk.interfaces.*;
import org.openscience.cdk.silent.SilentChemObjectBuilder;
Expand Down
2 changes: 1 addition & 1 deletion code/CalculateTotalCharge.code.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# CalculateTotalCharge.groovy
**Source code:**
```groovy
@Grab(group='org.openscience.cdk', module='cdk-bundle', version='2.8')
@Grab(group='org.openscience.cdk', module='cdk-bundle', version='2.9')
import org.openscience.cdk.interfaces.*;
import org.openscience.cdk.silent.SilentChemObjectBuilder;
Expand Down
2 changes: 1 addition & 1 deletion code/ChemFileForLooping.code.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ChemFileForLooping.groovy
**Source code:**
```groovy
@Grab(group='org.openscience.cdk', module='cdk-bundle', version='2.8')
@Grab(group='org.openscience.cdk', module='cdk-bundle', version='2.9')
import org.openscience.cdk.*;
file = new ChemFile()
Expand Down
2 changes: 1 addition & 1 deletion code/ChemFileLooping.code.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ChemFileLooping.groovy
**Source code:**
```groovy
@Grab(group='org.openscience.cdk', module='cdk-bundle', version='2.8')
@Grab(group='org.openscience.cdk', module='cdk-bundle', version='2.9')
import org.openscience.cdk.*;
file = new ChemFile()
Expand Down
2 changes: 1 addition & 1 deletion code/ChemObjectIdentifiers.code.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ChemObjectIdentifiers.groovy
**Source code:**
```groovy
@Grab(group='org.openscience.cdk', module='cdk-bundle', version='2.8')
@Grab(group='org.openscience.cdk', module='cdk-bundle', version='2.9')
import org.openscience.cdk.*;
Expand Down
2 changes: 1 addition & 1 deletion code/ChemObjectProperties.code.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ChemObjectProperties.groovy
**Source code:**
```groovy
@Grab(group='org.openscience.cdk', module='cdk-bundle', version='2.8')
@Grab(group='org.openscience.cdk', module='cdk-bundle', version='2.9')
import org.openscience.cdk.*;
Expand Down
2 changes: 1 addition & 1 deletion code/ChemSequenceForLooping.code.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ChemSequenceForLooping.groovy
**Source code:**
```groovy
@Grab(group='org.openscience.cdk', module='cdk-bundle', version='2.8')
@Grab(group='org.openscience.cdk', module='cdk-bundle', version='2.9')
import org.openscience.cdk.*;
sequence = new ChemSequence()
Expand Down
2 changes: 1 addition & 1 deletion code/ChemSequenceLooping.code.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ChemSequenceLooping.groovy
**Source code:**
```groovy
@Grab(group='org.openscience.cdk', module='cdk-bundle', version='2.8')
@Grab(group='org.openscience.cdk', module='cdk-bundle', version='2.9')
import org.openscience.cdk.*;
sequence = new ChemSequence()
Expand Down
Loading

0 comments on commit f4d2d67

Please sign in to comment.