Skip to content

Commit

Permalink
Merge pull request #15 from tylerperyea/master
Browse files Browse the repository at this point in the history
Suppress implicit H problem found on query atoms
  • Loading branch information
ChemMitch authored Nov 1, 2023
2 parents 048124f + 312ccc6 commit 68a8234
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -568,8 +568,14 @@ public void makeHydrogensImplicit() {
// isn't clear.
try {
setImplicitHydrogens();
AtomContainerManipulator.suppressHydrogens(container);
try {
AtomContainerManipulator.suppressHydrogens(container);
}catch(Exception e) {
// suppress for now, it tends to fail if there is a query atom
// but implicit Hs mean less there anyway
}
}catch(Exception e) {

throw new RuntimeException(e);
}
setDirty();
Expand Down

0 comments on commit 68a8234

Please sign in to comment.