User dfeb81947d
18-05-2005 10:28:02
Dear Support,
When doing MolSearch with JChem 3.0.11 I often get the following warning:
I want to check if two structure are identical:
what will be the result of the search if there is this warning?
thank you for your help
Kind Regards
Jacques
When doing MolSearch with JChem 3.0.11 I often get the following warning:
Quote: |
StructureSearch.findNext(): Warning:timed out at step 10000001. |
Code: |
private boolean compare() { hits = null; MolSearch search = new MolSearch(); search.setSubgraphSearch(false); search.setExactBondMatching(true); search.setExactChargeMatching(false); search.setExactIsotopeMatching(true); search.setExactQueryAtomMatching(true); search.setExactStereoMatching(true); search.setExactRadicalMatching(true); search.setQueryAbsoluteStereo(true); search.setStereoSearch(true); search.setQuery(molecule1); search.setTarget(molecule2); try { hits = search.findAll(); } catch (SearchException se) { se.printStackTrace(); } //if "hits" is not null, it means that the two molecules are identical (for my code example). return (hits!=null); } |
what will be the result of the search if there is this warning?
thank you for your help
Kind Regards
Jacques