Closed targos closed 7 years ago
As far as I know this file is not formatted correctly because sometimes they use \n
at the ned of the line and some time they use \r\n
. The library expects that the EOL (end-of-line) delimiter is always the same.
In this specific case I would replace the \r\n
with \n
before parsing.
sdf = sdf.replace(/\r/g,'');
Added an option in the parser 'mixedEOL' to deal with this specific case: 01451f54ee2ffd5a6c7f744aefa182e4be7fc9ae
Example:
Returns:
Only one molfile is detected. The rest is put in the solvent field. There seems to be an issue with line terminator handling.
@lpatiny