Skip to content

Commit

Permalink
Merge pull request #166 from cta-observatory/tell
Browse files Browse the repository at this point in the history
Add tell method to PipeWrapper
  • Loading branch information
maxnoe authored Apr 29, 2019
2 parents 5282bbf + 8e82e70 commit 0edfb05
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions eventio/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ def seek(self, offset, whence=0):
def close(self):
return self.pipe.close()

def tell(self):
return self.pos


class EventIOFile:

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def finalize_options(self):

setup(
name='eventio',
version='0.20.0',
version='0.20.1',
description='Python read-only implementation of the EventIO file format',
long_description=long_description,
url='https://github.com/fact-project/pyeventio',
Expand Down

0 comments on commit 0edfb05

Please sign in to comment.