Skip to content

Commit b09766a

Browse files
committed
Doh I did wonder why that count == 0 was there.
1 parent df62635 commit b09766a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

storage/inchi/src/main/java/org/openscience/cdk/inchi/InChIGenerator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ private void generateInchiFromCDKAtomContainer(IAtomContainer atomContainer, boo
272272
} else {
273273
iatom.setRadical(INCHI_RADICAL.TRIPLET);
274274
}
275-
} else {
275+
} else if (count != 0) {
276276
throw new CDKException("Unrecognised radical type");
277277
}
278278
}

0 commit comments

Comments
 (0)