Skip to content
Snippets Groups Projects
Commit 029d1fe7 authored by Tobias Schmidt's avatar Tobias Schmidt
Browse files

read sdf files with minimalistic bond definitions (e.g. from rdkit)

parent 2ec015c2
No related branches found
No related tags found
No related merge requests found
......@@ -227,9 +227,9 @@ void SDFReader::ParseAndAddBond(const String& line, int line_num,
LOG_TRACE( "line: [" << line << "]" );
if(line.length()<18 || line.length()>21) {
if(line.length()<9 || line.length()>21) {
String msg="Bad bond line %d: Not correct number of characters on the"
" line: %i (should be between 18 and 21)";
" line: %i (should be between 9 and 21)";
throw IOException(str(format(msg) % line_num % line.length()));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment