Commit 26730242 by maarten

start platonyzer

git-svn-id: svn+ssh://gitlab/srv/svn-repos/pdb-redo/trunk@479 a1961a4f-ab94-4bcc-80e8-33b5a54de466
parent db164a20
...@@ -4687,7 +4687,7 @@ void PDBFileParser::ParseConnectivtyAnnotation() ...@@ -4687,7 +4687,7 @@ void PDBFileParser::ParseConnectivtyAnnotation()
continue; continue;
} }
string distance, details; string distance, ccp4LinkId;
if (mRec->is("LINK ")) if (mRec->is("LINK "))
{ {
...@@ -4700,13 +4700,11 @@ void PDBFileParser::ParseConnectivtyAnnotation() ...@@ -4700,13 +4700,11 @@ void PDBFileParser::ParseConnectivtyAnnotation()
{ {
if (cif::VERBOSE) if (cif::VERBOSE)
cerr << "Distance value '" << distance << "' is not a valid float in LINK record" << endl; cerr << "Distance value '" << distance << "' is not a valid float in LINK record" << endl;
distance.clear(); swap(ccp4LinkId, distance); // assume this is a ccp4_link_id... oh really?
} }
} }
else // LINKR else // LINKR
{ ccp4LinkId = vS(74, 78); // the link ID
details = vS(74, 78); // the link ID
}
string sym1, sym2; string sym1, sym2;
try { try {
...@@ -4724,7 +4722,7 @@ void PDBFileParser::ParseConnectivtyAnnotation() ...@@ -4724,7 +4722,7 @@ void PDBFileParser::ParseConnectivtyAnnotation()
{ "id", type + to_string(linkNr) }, { "id", type + to_string(linkNr) },
{ "conn_type_id", type }, { "conn_type_id", type },
{ "details", details }, { "ccp4_link_id", ccp4LinkId },
{ "ptnr1_label_asym_id", p1Asym }, { "ptnr1_label_asym_id", p1Asym },
{ "ptnr1_label_comp_id", vS(18, 20) }, { "ptnr1_label_comp_id", vS(18, 20) },
......
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