molecular-design-toolkit icon indicating copy to clipboard operation
molecular-design-toolkit copied to clipboard

Wrong sidechain atoms returned from residue after copying

Open avirshup opened this issue 8 years ago • 0 comments

The following test should pass, currently fails:

mol = mdt.from_pdb('1YU8')
sidechain_atoms = list(mol.residues[5].sidechain)

m2 = mol.copy()
sa2 = list(m2.residues[5].sidechain)
for atom in sa2:
   assert atom.molecule is m2

avirshup avatar Mar 08 '17 20:03 avirshup