Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Use the molecule that is returned from the future.
Solves bug 3233
  • Loading branch information
goglepox committed Jun 21, 2012
1 parent a8b99e5 commit e8aecb5
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -114,10 +114,11 @@ public IMolecule call() throws CDKException{
}
Thread.sleep(1000);
}
mol = new CDKMolecule( future.get() );
} catch(Exception e) {
logger.warn("Aromaticity detection failed du to "+e.getMessage());
mol = new CDKMolecule( cdkMol );
}
mol = new CDKMolecule(cdkMol);
progress.setWorkRemaining(50);
progress.subTask("Generating coordinates");
progress.worked(25);
Expand Down

0 comments on commit e8aecb5

Please sign in to comment.