Skip to content

Commit

Permalink
Merge pull request #5 from PMBio/dev
Browse files Browse the repository at this point in the history
Fix for issue #4
  • Loading branch information
snajder-r authored Jul 3, 2023
2 parents bb59a48 + 606da34 commit 0b21f8e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pycoMeth/loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ def read_raw_llrs(self, interval: Coord) -> Tuple[List, List, List, List]:
sample_reads = {}
for sample_id, hf in self.sample_hf_files.items():
chrom_container = hf[interval.chr_name]

if chrom_container is None:
continue

interval_container = chrom_container.get_values_in_range(interval.start, interval.end)

if interval_container is None:
Expand Down

0 comments on commit 0b21f8e

Please sign in to comment.