Skip to content

Commit e2c6356

Browse files
committed
Now this is actually supported in BEAM the semantics are different. A '*' atom in an aromatic system is presumed to have a conjugated double bond. Previously this example was allowed because '*' was always aliphatic but this was not by design. Update the example with the same intended behavior.
1 parent fb5f0af commit e2c6356

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

base/test-standard/src/test/java/org/openscience/cdk/fingerprint/FingerprinterTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -394,8 +394,8 @@ public static void main(String[] args) throws Exception {
394394

395395
@Test public void pseudoAtomFingerprintArom() throws CDKException {
396396
final SmilesParser smipar = new SmilesParser(SilentChemObjectBuilder.getInstance());
397-
final String query = "*1cccc1";
398-
final String indole = "o1cccc1";
397+
final String query = "*1cnccc1";
398+
final String indole = "n1cnccc1";
399399
IAtomContainer queryMol = smipar.parseSmiles(query);
400400
IAtomContainer indoleMol = smipar.parseSmiles(indole);
401401
Fingerprinter fpr = new Fingerprinter();

0 commit comments

Comments
 (0)