Hi all,

Some softwares seem to produce SDF files, where new line delimiter include
both unix (CR) and windows (CR/LF) characters, e.g. atom/bond blocks looks
like below:

   -3.4037    0.4119    0.0000 C   0  0  0  0  0  0  0  0  0  0  0 
0[CR][CR/LF]
   -3.1119   -0.4955    0.0000 C   0  0  0  0  0  0  0  0  0  0  0 
0[CR][CR/LF]
  1  2  1  6  0  0  0[CR][CR/LF]
  1  3  1  0  0  0  0[CR][CR/LF]

While reading such files, CDK MDLReader perceives two line breaks instead of
one and as a result the structure can't be read correctly (if at all). The
question is - is it correct at all to have both CR and CR/LF and does it make
sense for MDLReader to be fixed? (I couldn't find explicit statements of
newline delimiters in the MDL specification.) 


Best regards,
Nina



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Cdk-user mailing list
Cdk-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdk-user

Reply via email to