Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong sidechain atoms returned from residue after copying #139

Open
avirshup opened this issue Mar 8, 2017 · 0 comments
Open

Wrong sidechain atoms returned from residue after copying #139

avirshup opened this issue Mar 8, 2017 · 0 comments
Assignees
Labels

Comments

@avirshup
Copy link
Contributor

avirshup commented Mar 8, 2017

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 avirshup added the bug label Mar 8, 2017
@avirshup avirshup self-assigned this Mar 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant