The flags are meant to be bit-wise combined BTW (see doc here: https://cdk.github.io/cdk/latest/docs/api/index.html?org/openscience/cdk/smiles/SmilesGenerator.html ):
I think you probably just want: SmilesGenerator generator1 = new SmilesGenerator(SmiFlavor.Absolute|SmiFlavor.AtomAtomMap); or SmilesGenerator generator1 = new SmilesGenerator(SmiFlavor.Canonical|SmiFlavor.AtomAtomMap);
_______________________________________________ Cdk-user mailing list Cdk-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cdk-user