User f05f6b8c05
27-04-2012 05:02:30
Hi,
I can't seem to get Stereochemistry methods to compile. Is chemaxon.calculations.stereo.Stereochemistry a separate download or license? In which jar is the class bundled? Or am I doing something else incorrectly?
Thanks,
Andrew
symbol : method setMolecule(chemaxon.struc.Molecule)
location: class chemaxon.calculations.stereo.Stereochemistry
stereo.setMolecule(m);
^
edex_codebase/servs/LogicImpl.java:468: cannot find symbol
symbol : method asymmetricAtomCount()
location: class chemaxon.calculations.stereo.Stereochemistry
if (stereo.asymmetricAtomCount()>0) {
^
edex_codebase/servs/LogicImpl.java:471: cannot find symbol
symbol : method asymmetricAtoms()
location: class chemaxon.calculations.stereo.Stereochemistry
int[] aindexes = stereo.asymmetricAtoms();
^
User f05f6b8c05
27-04-2012 05:05:36
Apologies .. very late for me .. first error message was clipped in first post .. see below.
Only API call preceding these errors is:
Stereochemistry stereo = new Stereochemistry();
edex_codebase/servs/LogicImpl.java:455: cannot find symbol
symbol : method setMolecule(chemaxon.struc.Molecule)
location: class chemaxon.calculations.stereo.Stereochemistry
stereo.setMolecule(m);
^
edex_codebase/servs/LogicImpl.java:468: cannot find symbol
symbol : method asymmetricAtomCount()
location: class chemaxon.calculations.stereo.Stereochemistry
if (stereo.asymmetricAtomCount()>0) {
^
edex_codebase/servs/LogicImpl.java:471: cannot find symbol
symbol : method asymmetricAtoms()
location: class chemaxon.calculations.stereo.Stereochemistry
int[] aindexes = stereo.asymmetricAtoms();
^
User f05f6b8c05
27-04-2012 07:36:16
Never mind .. I have found it in MarvinBeans-plugin.jar .. I was using older library where class was in chemaxon/calculations/Stereochemistry.class .. so code was confused by calling chemaxon/calculations/stereo/Stereochemistry.class
Thanks.