Skip to content

Commit

Permalink
Add tell method
Browse files Browse the repository at this point in the history
  • Loading branch information
kain88-de committed Oct 23, 2016
1 parent 629b854 commit 3355a37
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions package/MDAnalysis/lib/formats/libdcd.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -296,3 +296,7 @@ cdef class DCDFile:
if ok != 0:
raise IOError("DCD seek failed with system errno={}".format(ok))
self.current_frame = frame

def tell(self):
"""Get current frame"""
return self.current_frame

0 comments on commit 3355a37

Please sign in to comment.