Skip to content
Snippets Groups Projects
Commit e5a17cd6 authored by Gerardo Tauriello's avatar Gerardo Tauriello
Browse files

Fix: keep entity name when molcking.

parent 6fc6e6f3
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,8 @@ using namespace ost::mol;
void ost::mol::alg::MapNonStandardResidues(EntityHandle& ent, CompoundLibPtr lib) {
// TODO: Maybe it is possible to make it in-place operation
EntityHandle new_ent=CreateEntity();
EntityHandle new_ent=CreateEntity();
new_ent.SetName(ent.GetName());
ChainHandleList chains=ent.GetChainList();
XCSEditor new_edi=new_ent.EditXCS();
for (ChainHandleList::const_iterator c=chains.begin();c!=chains.end();++c) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment