Skip to content

Commit 67c3c22

Browse files
committed
bondsToHydrogens should be updated here.
1 parent fd45bb3 commit 67c3c22

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

base/standard/src/main/java/org/openscience/cdk/tools/manipulator/AtomContainerManipulator.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -790,6 +790,7 @@ public static IAtomContainer suppressHydrogens(IAtomContainer org) {
790790

791791
for (final IBond bond : org.bonds()) {
792792
if (remaining > 0 && (hydrogens.contains(bond.getBegin()) || hydrogens.contains(bond.getEnd()))) {
793+
bondsToHydrogens.add(bond);
793794
remaining--;
794795
continue;
795796
}

0 commit comments

Comments
 (0)