Closed GoogleCodeExporter closed 9 years ago
This issue was closed by revision f5834233b704.
Original comment by richardjgowers
on 18 Sep 2014 at 8:30
Hi Ardita
There was a couple of things going on here, firstly len(u.trajectory) wasn't
working properly, 100 frames is correct.
Secondly, when counting frames or iterating the trajectory, the first frame
wasn't reloaded afterwards, so went to 'frame 0' which is the state before the
next frame is read. I think frames are 1 based because most MD programs treat
& write them that way.
I've pushed a fix to this in the development branch, you can read how to use
this here:
http://code.google.com/p/mdanalysis/wiki/DevelopmentBranch
Hopefully everything should be fixed for you now.
Richard
Original comment by richardjgowers
on 18 Sep 2014 at 8:36
Original issue reported on code.google.com by
ardita.s...@gmail.com
on 17 Sep 2014 at 4:59Attachments: