Commit 975057c4 by Maarten L. Hekkelman

Fixed bug in structure::changeresidue when removing atoms

parent a0e01668
......@@ -2512,7 +2512,7 @@ void Structure::changeResidue(const Residue &res, const std::string &newCompound
continue;
if (a2.empty() or a2 == ".")
atomSites.erase(cif::Key("id") == i->id());
removeAtom(*i);
else if (a1 != a2)
{
auto ra = r.front();
......
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