Commit b83ef112 by Maarten L. Hekkelman

Fix in structure::change_residue

parent dd9110a3
......@@ -2006,7 +2006,10 @@ void structure::change_residue(residue &res, const std::string &newCompound,
continue;
if (a2.empty() or a2 == ".")
{
i->set_property("label_comp_id", newCompound);
remove_atom(*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