Commit a236547a by maarten

weer een pdb2cif fix

git-svn-id: svn+ssh://gitlab/srv/svn-repos/pdb-redo/trunk@384 a1961a4f-ab94-4bcc-80e8-33b5a54de466
parent 8f12d154
...@@ -1261,7 +1261,9 @@ void PDBFileParser::ParseTitle() ...@@ -1261,7 +1261,9 @@ void PDBFileParser::ParseTitle()
GetNextRecord(); GetNextRecord();
} }
else
ba::trim(mStructureId);
if (mStructureId.empty())
mStructureId = "nohd"; mStructureId = "nohd";
mDatablock = new cif::Datablock(mStructureId); mDatablock = new cif::Datablock(mStructureId);
......
...@@ -116,7 +116,7 @@ const TemplateLine kBusterTNT_Template[] = { ...@@ -116,7 +116,7 @@ const TemplateLine kBusterTNT_Template[] = {
/* 76 */ { R"(TLS DETAILS\.?)", 1 }, /* 76 */ { R"(TLS DETAILS\.?)", 1 },
/* 77 */ { R"(NUMBER OF TLS GROUPS :.+)", 1 }, /* 77 */ { R"(NUMBER OF TLS GROUPS :.+)", 1 },
/* 78 */ { R"(TLS GROUP :\s*(\d+))", 1, "pdbx_refine_tls", { "id" }, nullptr, true }, /* 78 */ { R"(TLS GROUP :\s*(\d+))", 1, "pdbx_refine_tls", { "id" }, nullptr, true },
/* 79 */ { R"((?:SELECTION|SET):\s+(.+?))", 1, "pdbx_refine_tls_group", { "selection_details" }, nullptr, true }, /* 79 */ { R"((?:SELECTION|SET) *:\s+(.+?))", 1, "pdbx_refine_tls_group", { "selection_details" }, nullptr, true },
/* 80 */ { R"(ORIGIN FOR THE GROUP \(A\):\s+(.+?)\s+(.+?)\s+(.+?))", 1, "pdbx_refine_tls", { "origin_x", "origin_y", "origin_z" } }, /* 80 */ { R"(ORIGIN FOR THE GROUP \(A\):\s+(.+?)\s+(.+?)\s+(.+?))", 1, "pdbx_refine_tls", { "origin_x", "origin_y", "origin_z" } },
/* 81 */ { R"(T TENSOR)", 1 }, /* 81 */ { R"(T TENSOR)", 1 },
/* 82 */ { R"(T11:\s+(.+?) T22:\s+(.+?))", 1, "pdbx_refine_tls", { "T[1][1]", "T[2][2]" } }, /* 82 */ { R"(T11:\s+(.+?) T22:\s+(.+?))", 1, "pdbx_refine_tls", { "T[1][1]", "T[2][2]" } },
......
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