diff --git a/package/MDAnalysis/lib/formats/libdcd.pyx b/package/MDAnalysis/lib/formats/libdcd.pyx index d07dfb1c80d..aabcb1f8116 100644 --- a/package/MDAnalysis/lib/formats/libdcd.pyx +++ b/package/MDAnalysis/lib/formats/libdcd.pyx @@ -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