Autodesk / Autodesk/molecular-design-toolkit

Wrong sidechain atoms returned from residue after copying

Open
#139 0 comments 0 reactions 1 assignee Claimed by @avirshup View on GitHub
bug
Dominant language
Python
Stars
174
Forks
37
PR merge metrics
No merged PRs in 30d

Description

The following test should pass, currently fails:

```python
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
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.