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

fix: copy chain type and description in Copy()

parent e23e026b
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.
Please register or to comment