From c0889d1f140bcefa8950890428475a98769009b0 Mon Sep 17 00:00:00 2001 From: Marco Biasini <marco.biasini@unibas.ch> Date: Wed, 8 May 2013 14:22:46 +0200 Subject: [PATCH] CreateEntityFromView remembers chemical type This fixes BZDNG-430 --- modules/mol/base/src/impl/chain_impl.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/mol/base/src/impl/chain_impl.cc b/modules/mol/base/src/impl/chain_impl.cc index 8b3cbe271..42f24164e 100644 --- a/modules/mol/base/src/impl/chain_impl.cc +++ b/modules/mol/base/src/impl/chain_impl.cc @@ -69,6 +69,7 @@ ResidueImplPtr ChainImpl::AppendResidue(const ResidueImplPtr& res, bool deep) dst_res->SetSecStructure(res->GetSecStructure()); dst_res->SetChemClass(res->GetChemClass()); dst_res->SetProtein(res->IsProtein()); + dst_res->SetChemType(res->GetChemType()); dst_res->SetIsLigand(res->IsLigand()); if(deep) { -- GitLab