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

GROWriter truncates residues at wrong end #1395

Closed
richardjgowers opened this issue Jun 12, 2017 · 0 comments
Closed

GROWriter truncates residues at wrong end #1395

richardjgowers opened this issue Jun 12, 2017 · 0 comments

Comments

@richardjgowers
Copy link
Member

Code to reproduce the behaviour

import MDAnalysis as mda

u = mda.Universe(top, trj)
In [3]: u.residues[0].resid = 123456789

In [4]: u.residues[0].atoms.write('out.gro')

In [5]: more out.gro
Written by MDAnalysis
   19
12345MET      N    1   5.202   4.356   3.155

....
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant