Skip to content

Commit ed1afa5

Browse files
committed
We don't care if a descriptor sets the ring status... it is invariant.
1 parent d7514cc commit ed1afa5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

descriptor/qsarmolecular/src/test/java/org/openscience/cdk/qsar/descriptors/molecular/MolecularDescriptorTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
import org.openscience.cdk.dict.Entry;
3333
import org.openscience.cdk.exception.CDKException;
3434
import org.openscience.cdk.exception.InvalidSmilesException;
35+
import org.openscience.cdk.graph.Cycles;
3536
import org.openscience.cdk.interfaces.IAtom;
3637
import org.openscience.cdk.interfaces.IAtomContainer;
3738
import org.openscience.cdk.interfaces.IAtomType;
@@ -87,6 +88,7 @@ private Number[] getBondFlags(IAtomContainer mol) {
8788
public void descriptorDoesNotChangeFlags() throws CDKException {
8889
IAtomContainer mol = TestMoleculeFactory.makeBenzene();
8990
AtomContainerManipulator.percieveAtomTypesAndConfigureAtoms(mol);
91+
Cycles.markRingAtomsAndBonds(mol);
9092
Number mflags = mol.getFlagValue();
9193
Number[] aflags = getAtomFlags(mol);
9294
Number[] bflags = getBondFlags(mol);

0 commit comments

Comments
 (0)