Skip to content

Commit

Permalink
Fix syntax for py2 in extract.py
Browse files Browse the repository at this point in the history
  • Loading branch information
cjw85 committed Jan 10, 2019
1 parent 52a0b92 commit 8cc2e13
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion fast5_research/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = '1.2.9'
__version__ = '1.2.10'

from fast5_research.fast5 import Fast5, iterate_fast5
from fast5_research.fast5_bulk import BulkFast5
4 changes: 2 additions & 2 deletions fast5_research/extract.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,8 @@ def write_read(self, read):
MULTI_READ_FILE_VERSION = "2.0"

class MultiWriter(ReadWriter):
def __init__(self, *args, reads_per_file=4000, **kwargs):
super(MultiWriter, self).__init__(*args, **kwargs)
def __init__(self, out_path, by_id, prefix="", reads_per_file=4000):
super(MultiWriter, self).__init__(out_path, by_id, prefix=prefix)
self.reads_per_file = reads_per_file
self.current_reads = 0 # reads in open file, used to signal new file condition
self.file_counter = 0
Expand Down

0 comments on commit 8cc2e13

Please sign in to comment.