Permalink
Browse files

Fix BgzfWriter's tell method (reported by Petra Kubincová)

  • Loading branch information...
peterjc committed Jan 30, 2013
1 parent 7d77a80 commit 2a1be2f3e9b731fa05cc4ad7a01a67866155827c
Showing with 1 addition and 1 deletion.
  1. +1 −1 Bio/bgzf.py
View
@@ -775,7 +775,7 @@ def close(self):
def tell(self):
"""Returns a BGZF 64-bit virtual offset."""
- return make_virtual_offset(self.handle.tell(), len(self._buffer))
+ return make_virtual_offset(self._handle.tell(), len(self._buffer))
def seekable(self):
#Not seekable, but we do support tell...

0 comments on commit 2a1be2f

Please sign in to comment.