Skip to content

Commit a58bf34

Browse files
authored
get_segments(...) now returns three things rather than two (#183)
1 parent 89499c7 commit a58bf34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/longbow/commands/stats.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ def main(pbi, output_prefix, model, do_simple_splitting, input_bam):
144144
for read in bam_file:
145145
# Get our read segments:
146146
try:
147-
_, segments = get_segments(read)
147+
_, segments, _ = get_segments(read)
148148
except KeyError:
149149
logger.error(f"Input bam file does not contain longbow segmented reads! "
150150
f"No {longbow.utils.constants.SEGMENTS_TAG} tag detected on read {read.query_name} !")

0 commit comments

Comments
 (0)