Skip to content

Commit

Permalink
fix bug issue #134
Browse files Browse the repository at this point in the history
  • Loading branch information
nservant committed Mar 12, 2018
1 parent 07ccb16 commit c792d2b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ SIGNIFICANT USER-VISIBLE CHANGES

BUG FIXES

o Fix bug in mapped_2hic_fragments.py (issue #134)

o Fix shebang in make_viewpoints.py

***********************************
Expand Down
2 changes: 1 addition & 1 deletion scripts/mapped_2hic_fragments.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def get_cis_dist(read1, read2):
# Get oriented reads
##r1, r2 = get_ordered_reads(read1, read2)
dist = None
if not r1.is_unmapped and not r2.is_unmapped:
if not read1.is_unmapped and not read2.is_unmapped:
## Contact distances can be calculated for intrachromosomal reads only
if isIntraChrom(read1, read2):
r1pos = get_read_pos(read1)
Expand Down

0 comments on commit c792d2b

Please sign in to comment.