Closed GoogleCodeExporter closed 9 years ago
Oh, oh, oh - I made a mistake: one should load the attached file:
In : universe = Universe("bafx_membrane.gro")
instead of
In : universe = Universe(opts.myGro)
Original comment by kheyfbo...@gmail.com
on 23 Feb 2012 at 3:14
This is not MDAnalysis's fault: In your GRO file, the second set of residues
has the resid numbers 2065 to 2127:
print notW.residues[63:65]
[<Residue 'BAFX', 64>, <Residue 'BAFX', 2065>]
You can access your residue "65" as
notW.selectAtoms("resid 2065")
At the moment we don't have functionality to rearrange the topology. You can
file and enhancement request if you like.
I am closing this issue report as it's not a bug as invalid. (Btw "invalid"
does not mean that this wasn't a legitimate question, it only has the meaning
"not a bug".)
Original comment by orbeckst
on 23 Feb 2012 at 11:53
Thanks for the quick response. Yesterday I made a simple work-around, but now
I'll try to re-write it using notW.residues[i] in a loop.
Appreciate Your work. Being able to bring MD data into numpy easily is
absolutely amazing.
Original comment by kheyfbo...@gmail.com
on 24 Feb 2012 at 2:45
Original issue reported on code.google.com by
kheyfbo...@gmail.com
on 23 Feb 2012 at 3:07Attachments: