User dfeb81947d
15-07-2005 13:20:00
Dear Support,
I'm using JChem3.0.12.
While using MolSearch in that way:
I have the following Exception:
with the molecules on the attached File
Do I need to deshydrogenate the molecule?
If so, the code Molecule.hydrogenize(false) gives an Exception too.
Warmest Regards
Jacques
I'm using JChem3.0.12.
While using MolSearch in that way:
Code: |
searchExact = new MolSearch(); search.setSubgraphSearch(true); search.setExactBondMatching(true); search.setExactChargeMatching(true); search.setExactIsotopeMatching(true); search.setExactQueryAtomMatching(true); search.setExactStereoMatching(true); search.setExactRadicalMatching(true); search.setQueryAbsoluteStereo(true); search.setStereoSearch(true); search.setHCountMatching(SearchConstants.HCOUNT_MATCHING_AUTO); search.setQuery(m1); search.setTarget(m2); return search.isMatching() |
Quote: |
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: -1 at chemaxon.marvin.modules.Parity.putToTheTop(Parity.java:1997) at chemaxon.marvin.modules.Parity.setupStereoBonds(Parity.java:736) at chemaxon.marvin.modules.Parity.setParity(Parity.java:543) at chemaxon.marvin.modules.Parity.modfunc(Parity.java:149) at chemaxon.struc.MoleculeGraph.setParity(MoleculeGraph.java:1242) at chemaxon.struc.MoleculeGraph.setParity(MoleculeGraph.java:1190) at chemaxon.sss.search.AtomRearranger.flipNewMolChirality(AtomRearranger.java:260) at chemaxon.sss.search.AtomRearranger.checkParities(AtomRearranger.java:244) at chemaxon.sss.search.AtomRearranger.rearrangeAtoms(AtomRearranger.java:192) at chemaxon.sss.search.AtomRearranger.getRearrangedMolecule(AtomRearranger.java:74) at chemaxon.sss.search.StructureSearch.initAtoms(StructureSearch.java:2203) at chemaxon.sss.search.StructureSearch.initSearch(StructureSearch.java:1219) at chemaxon.sss.search.StructureSearch.findFirst(StructureSearch.java:4164) at chemaxon.sss.search.StructureSearch.isMatching(StructureSearch.java:4546) at chemaxon.sss.search.MolSearch.isMatching(MolSearch.java:666) |
Do I need to deshydrogenate the molecule?
If so, the code Molecule.hydrogenize(false) gives an Exception too.
Warmest Regards
Jacques