Skip to content

Commit

Permalink
Remove unnecessary parentheses
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksander Jankowski committed Nov 22, 2017
1 parent 9b6adb9 commit ed383a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hicexplorer/hicBuildMatrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ def get_correct_map(primary, supplement_list):
cigartuples = read.cigartuples[:]

first_mapped.append(
sum(count for op, count in itertools.takewhile(lambda (op, count): op != 0, cigartuples)))
sum(count for op, count in itertools.takewhile(lambda op, count: op != 0, cigartuples)))
# find which read has a cigar string that maps first than any of the
# others.
idx_min = first_mapped.index(min(first_mapped))
Expand Down

0 comments on commit ed383a0

Please sign in to comment.