Skip to content

Commit

Permalink
fix len(filter(...)) issue in python3, fix #150
Browse files Browse the repository at this point in the history
  • Loading branch information
stolarczyk committed May 7, 2019
1 parent 9701096 commit 3fb4f00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example_pipelines/count_reads.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@

# And then count the number of reads in the file

n_input_files = len(filter(bool, local_input_files))
n_input_files = len(list(filter(bool, local_input_files)))

raw_reads = sum([int(ngstk.count_reads(input_file, args.paired_end))
for input_file in local_input_files]) / n_input_files
Expand Down

0 comments on commit 3fb4f00

Please sign in to comment.