User dfeb81947d
07-06-2005 15:52:59
Dear Support,
An exception occurs when I want to calculate the molecule mol_error.mol (attached)
I use the code as follow
Is there a bug or the molecule is not in a good MDL format?
Thank you for your help
Kind Regards ;)
Jacques
An exception occurs when I want to calculate the molecule mol_error.mol (attached)
Quote: |
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.setParity2D(Parity.java:476) at chemaxon.marvin.modules.Parity.setParity(Parity.java:381) at chemaxon.marvin.modules.Parity.modfunc(Parity.java:175) at chemaxon.struc.MoleculeGraph.setParity(MoleculeGraph.java:1214) at chemaxon.marvin.modules.Hydrogenize.implicitizeHydrogens(Hydrogenize.java:237) at chemaxon.marvin.modules.Hydrogenize.callback(Hydrogenize.java:47) at chemaxon.struc.MoleculeGraph.callHydrogenize(MoleculeGraph.java:438) at chemaxon.struc.MoleculeGraph.implicitizeHydrogens(MoleculeGraph.java:414) at chemaxon.calculations.Interaction.implicitize(Interaction.java:67) at chemaxon.calculations.Interaction.initHBond(Interaction.java:248) at chemaxon.calculations.Interaction.calcAcceptorDonorCount(Interaction.java:137) at chemaxon.marvin.calculations.HBDAPlugin.run(HBDAPlugin.java:358) |
Code: |
HBDAPlugin hbda = new HBDAPlugin(); hbda.validate(licenceHBDAPlugin); Properties params = new Properties(); params.put("type", "don,acc,donsitecount,accsitecount,donorcount,acceptorcount,msdon,msacc"); params.put("lower", "2.0"); params.put("upper", "12.0"); params.put("step", "2.0"); hbda.setParameters(params); hbda.setMolecule(m); hbda.run(); System.out.println(hbda.getDonorAtomCount()); System.out.println(hbda.getAcceptorAtomCount()); |
Is there a bug or the molecule is not in a good MDL format?
Thank you for your help
Kind Regards ;)
Jacques