Skip to content

Commit 2a361c4

Browse files
committed
BUGFIX: TabixIterator does not have attribute .next(), added note in merge-allc argparser
1 parent 0c20014 commit 2a361c4

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

ALLCools/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ def merge_allc_register_subparser(subparser):
322322
"--output_path",
323323
type=str,
324324
required=True,
325-
help="Path to the output merged ALLC file.",
325+
help="Path to the output merged ALLC file (specify tsv.gz extension)",
326326
)
327327

328328
parser_req.add_argument("--chrom_size_path", type=str, required=True, help=chrom_size_path_doc)

ALLCools/_merge_allc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def __init__(self, path, region):
4040
self.f_region = TabixIterator()
4141

4242
def readline(self):
43-
return self.f_region.next()
43+
return self.f_region.__next__()
4444

4545
def close(self):
4646
self.f.close()

0 commit comments

Comments
 (0)