We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent da62dae commit 59957a1Copy full SHA for 59957a1
storage/io/src/main/java/org/openscience/cdk/io/XYZWriter.java
@@ -148,7 +148,7 @@ public void writeMolecule(IAtomContainer mol) throws IOException {
148
writer.write(s1, 0, s1.length());
149
writer.write('\n');
150
151
- String s2 = null; // FIXME: add some interesting comment
+ String s2 = mol.getTitle();
152
if (s2 != null) {
153
writer.write(s2, 0, s2.length());
154
}
0 commit comments