Commit 8f12d154 by maarten

reflns mandatory fields

git-svn-id: svn+ssh://gitlab/srv/svn-repos/pdb-redo/trunk@383 a1961a4f-ab94-4bcc-80e8-33b5a54de466
parent 535ea566
...@@ -1126,7 +1126,7 @@ void Remark3Parser::storeCapture(const char* category, initializer_list<const ch ...@@ -1126,7 +1126,7 @@ void Remark3Parser::storeCapture(const char* category, initializer_list<const ch
cat.emplace({ cat.emplace({
{ "pdbx_refine_id", mExpMethod }, { "pdbx_refine_id", mExpMethod },
{ "entry_id", mDb.getName() }, { "entry_id", mDb.getName() },
#warning("???") #warning("this diffrn-id is probably not correct?")
{ "pdbx_diffrn_id", 1 } { "pdbx_diffrn_id", 1 }
}); });
else if (iequals(category, "refine_analyze") or iequals(category, "pdbx_refine")) else if (iequals(category, "refine_analyze") or iequals(category, "pdbx_refine"))
...@@ -1187,11 +1187,17 @@ void Remark3Parser::storeCapture(const char* category, initializer_list<const ch ...@@ -1187,11 +1187,17 @@ void Remark3Parser::storeCapture(const char* category, initializer_list<const ch
else if (iequals(category, "pdbx_reflns_twin")) else if (iequals(category, "pdbx_reflns_twin"))
{ {
cat.emplace({ cat.emplace({
#warning("???") #warning("crystal id, diffrn id, what should be put here?")
{ "crystal_id", 1 }, { "crystal_id", 1 },
{ "diffrn_id", 1 } { "diffrn_id", 1 }
}); });
} }
else if (iequals(category, "reflns"))
cat.emplace({
{ "pdbx_ordinal", cat.size() + 1 },
{ "entry_id", mDb.getName() },
{ "pdbx_diffrn_id", 1 }
});
else else
cat.emplace({}); cat.emplace({});
......
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