Commit e0dc9f1c by maarten

pdb2cif fixes

git-svn-id: svn+ssh://gitlab/srv/svn-repos/pdb-redo/trunk@181 a1961a4f-ab94-4bcc-80e8-33b5a54de466
parent c5d277fb
......@@ -1185,7 +1185,11 @@ bool Remark3Parser::parse(const string& expMethod, PDBRecord* r, cif::Datablock&
string line = getNextLine();
if (line != "REFINEMENT.")
throw runtime_error("Unexpected data in REMARK 3");
{
if (VERBOSE)
cerr << "Unexpected data in REMARK 3" << endl;
return false;
}
line = getNextLine();
......@@ -1193,7 +1197,12 @@ bool Remark3Parser::parse(const string& expMethod, PDBRecord* r, cif::Datablock&
smatch m;
if (not regex_match(line, m, rxp))
throw runtime_error("Expected valid PROGRAM line in REMARK 3");
{
if (VERBOSE)
cerr << "Expected valid PROGRAM line in REMARK 3" << endl;
return false;
}
line = m[1].str();
struct programScore
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment