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
Topology groups and PDB files #1257
Comments
Hey, thanks for the report So a pdb/gro doesn't technically define dihedrals or angles, but obviously they can be inferred from bonds. So in a way this is "working as intended". There's currently If you load a PDB with CONECT records, then you can't immediately use them to guess angles admittedly, maybe there should be a |
I see, you have to call Wouldn't it be beneficial to catch that exception in the current |
Yeah the error message could definitely be better, like providing a customised AttributeError for a known list of things |
I'd be happy to contribute if that's ok! |
@mimischi yeah that would be great! I think if you extended the |
Finally coming back to this issue, I noticed the depreciation warnings and #1377. Does the issue now shift from |
Ping 👋 |
ping @richardjgowers can you comment on this? |
Just stumbled upon the problem, that accessing any method that involves topology groups does not work, when creating a
Universe
with a PDB or GRO file. Both themaster
version 0.15.0, as well as a freshly cloneddevelop
version 0.16.0-dev do not work, while producing different errors.It does work when loading the topology from the test suite, so I'm using that as the expected behaviour. An non-working example PDB file would be 1UBQ from PDB.
Expected behaviour
Actual behaviour
MDAnalysis 0.15.0
MDAnalysis 0.16.0-dev
The
.angles
method does not work either.Looking through the issues I came across #1253, which sounds pretty familiar.
The text was updated successfully, but these errors were encountered: