Skip to content

Commit 51266a4

Browse files
committed
Resolve #523 14 Correct logic
1 parent d4be48a commit 51266a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

storage/ctab/src/main/java/org/openscience/cdk/io/MDLV2000Writer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ public void writeMolecule(IAtomContainer container) throws Exception {
495495
last--;
496496
}
497497
// matches BIOVIA syntax
498-
if (last >= 2 && last < atomprops.length)
498+
if (last >= 2 && last < 5)
499499
last = 5;
500500
}
501501
for (int i = 2; i <= last; i++)

0 commit comments

Comments
 (0)