Commit 8118c073 by maarten

backup debuggen refinement

git-svn-id: svn+ssh://gitlab/srv/svn-repos/pdb-redo/trunk@316 a1961a4f-ab94-4bcc-80e8-33b5a54de466
parent 27bda1c6
......@@ -191,6 +191,9 @@ class Residue
// return a human readable PDB-like auth id (chain+seqnr+iCode)
std::string authID() const;
// similar for mmCIF space
std::string labelID() const;
// Is this residue a single entity?
bool isEntity() const;
......
......@@ -1212,7 +1212,8 @@ void PDBFileParser::Match(const string& expected, bool throwIfMissing)
{
if (throwIfMissing)
throw runtime_error("Expected record " + expected + " but found " + mRec->mName);
cerr << "Expected record " + expected + " but found " + mRec->mName << endl;
if (VERBOSE)
cerr << "Expected record " + expected + " but found " + mRec->mName << endl;
}
}
......
......@@ -711,6 +711,11 @@ string Residue::authID() const
return result;
}
string Residue::labelID() const
{
return mAsymID + to_string(mSeqID);
}
// --------------------------------------------------------------------
// monomer
......
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