Skip to content

Commit

Permalink
Fixes suggested by @ctb
Browse files Browse the repository at this point in the history
  • Loading branch information
standage committed Nov 18, 2016
1 parent e5d2401 commit 3c8a294
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions sandbox/sweep-reads2.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,9 @@ def main():
if is_pair:
count1 = ht.get_median_count(read1.sequence)[0]
count2 = ht.get_median_count(read2.sequence)[0]
if count1 and count2:
if count1 or count2:
m += 1
write_record(read1, outfp)
write_record(read2, outfp)
write_record_pair(read1, read2, outfp)
else:
count = ht.get_median_count(read1.sequence)[0]
if count:
Expand Down

0 comments on commit 3c8a294

Please sign in to comment.