Commit 577b44ae by Maarten L. Hekkelman

Fix in processing CCP4 monomers, proline is a peptide

parent 66f742d6
...@@ -403,7 +403,7 @@ CompoundFactoryImpl::CompoundFactoryImpl(const std::filesystem::path &file, std: ...@@ -403,7 +403,7 @@ CompoundFactoryImpl::CompoundFactoryImpl(const std::filesystem::path &file, std:
if (cif::iequals(id, "gly")) if (cif::iequals(id, "gly"))
type = "peptide linking"; type = "peptide linking";
else if (cif::iequals(group, "l-peptide") or cif::iequals(group, "L-peptide linking") or cif::iequals(group, "peptide")) else if (cif::iequals(group, "l-peptide") or cif::iequals(group, "L-peptide linking") or cif::iequals(group, "peptide") or cif::iequals(group, "p-peptide"))
type = "L-peptide linking"; type = "L-peptide linking";
else if (cif::iequals(group, "DNA")) else if (cif::iequals(group, "DNA"))
type = "DNA linking"; type = "DNA linking";
...@@ -611,7 +611,7 @@ Compound *CCP4CompoundFactoryImpl::create(const std::string &id) ...@@ -611,7 +611,7 @@ Compound *CCP4CompoundFactoryImpl::create(const std::string &id)
if (cif::iequals(id, "gly")) if (cif::iequals(id, "gly"))
type = "peptide linking"; type = "peptide linking";
else if (cif::iequals(group, "l-peptide") or cif::iequals(group, "L-peptide linking") or cif::iequals(group, "peptide")) else if (cif::iequals(group, "l-peptide") or cif::iequals(group, "L-peptide linking") or cif::iequals(group, "peptide") or cif::iequals(group, "p-peptide"))
type = "L-peptide linking"; type = "L-peptide linking";
else if (cif::iequals(group, "DNA")) else if (cif::iequals(group, "DNA"))
type = "DNA linking"; type = "DNA linking";
......
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