Commit 85aed9fb by maarten

fix in authSeqID en vrienden

git-svn-id: svn+ssh://gitlab/srv/svn-repos/pdb-redo/trunk@400 a1961a4f-ab94-4bcc-80e8-33b5a54de466
parent 603a0eca
...@@ -665,8 +665,10 @@ string Residue::authInsCode() const ...@@ -665,8 +665,10 @@ string Residue::authInsCode() const
try try
{ {
tie(ignore, ignore, result) = mStructure->MapLabelToAuth(mAsymID, mSeqID); char iCode;
tie(ignore, ignore, iCode) = mStructure->MapLabelToAuth(mAsymID, mSeqID);
result = string{ iCode };
ba::trim(result); ba::trim(result);
} }
catch (...) catch (...)
...@@ -684,7 +686,9 @@ string Residue::authSeqID() const ...@@ -684,7 +686,9 @@ string Residue::authSeqID() const
try try
{ {
tie(ignore, result, ignore) = mStructure->MapLabelToAuth(mAsymID, mSeqID); int seqID;
tie(ignore, seqID, ignore) = mStructure->MapLabelToAuth(mAsymID, mSeqID);
result = to_string(seqID);
} }
catch (...) catch (...)
{ {
......
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