Skip to content

Instantly share code, notes, and snippets.

@egonw egonw/gist:984635
Created May 21, 2011

Embed
What would you like to do?
@TestMethod("testCalculate_IAtomContainer")
public DescriptorValue calculate(IAtomContainer container) {
int counter;
Molecule molecule;
try {
molecule = (Molecule) container.clone();
} catch (CloneNotSupportedException e) {
logger.debug("Error during clone");
return getDummyDescriptorValue(new CDKException("Error occured during clone " + e));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.