Skip to content
Snippets Groups Projects
Unverified Commit c4cd1dee authored by Xavier Robin's avatar Xavier Robin
Browse files

fix: copy chain type and description in Copy()

parent 1d27fb7e
No related branches found
No related tags found
No related merge requests found
......@@ -130,6 +130,9 @@ ChainImplPtr EntityImpl::InsertChain(const String& chain_name, const ChainImplPt
{
ChainImplPtr dst_chain=this->InsertChain(chain_name);
dst_chain->Assign(*chain.get());
// Copy non generic properties
dst_chain->SetDescription(chain->GetDescription());
dst_chain->SetType(chain->GetType());
if(deep)
{
ResidueImplList::iterator it=chain->GetResidueList().begin(),
......
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