-
Notifications
You must be signed in to change notification settings - Fork 825
Closed
Description
Expected behavior
This is an excerpt of my real PDB file for ATP:
ATOM 20 AH2* ATP 1193 71.850 70.750 36.080 1.00 0.00
ATOM 21 AC3* ATP 1193 69.340 70.550 35.970 1.00 0.00
ATOM 22 AO3* ATP 1193 69.710 71.250 37.170 1.00 0.00
ATOM 23 AH3* ATP 1193 69.260 72.140 37.120 1.00 0.00
ATOM 24 AC5* ATP 1193 67.150 69.580 34.970 1.00 0.00
ATOM 25 AO5* ATP 1193 66.640 70.800 34.400 1.00 0.00
I think these atoms should have atom type/elements H, C, O, H, C, O.
Actual behavior
MDAnalysis thinks that all these atom types are 'A' with mass 0.0 (presumably because A is not an element).
Code to reproduce the behavior
Show us how to reproduce the failiure. If you can, use trajectory files from the test data.
import MDAnalysis as mda
u = mda.Universe('my_pdb_file.pdb')
print(u.atoms.types)Currently version of MDAnalysis
- Which version are you using? 0.19.3-dev
- Which version of Python (
python -V)? Python 3.7.3 - Which operating system? MacOS Mojave 10.14.5
Reactions are currently unavailable