Hello Sean,
Unfortunately, the SMILES parser implements only a subset of SMILES at
this point. The error output should really be more specific - thanks
for bringing it up. My guess is that the one of the "[", "+", "-", and
"." characters is responsible.
To get an idea of the kind of SMILES currently supported by MX, check
out the test package:
http://github.com/rapodaca/mx/blob/039a8cd74ca4fc6cf9bedec01325cbd11c110720/src/com/metamolecular/mx/test/SMILESReaderTest.java
SMILESReader is set up to throw an exception on encountering any
character that it doesn't understand, even if that character is part
of the 'spec'. As SMILES features are added to MX, these errors will
(hopefully) go away.
In short, reading and writing SMILES is a work in progress. Completing
it is currently a low priority over here, but I'd be happy for someone
such as yourself to look into moving the implementation forward.
Cheers,
Rich