Skip to content

Commit

Permalink
paranoia for plot coverages, bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
TyberiusPrime committed Nov 27, 2024
1 parent 4516521 commit bcfdad8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mbf/genomics/regions/plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def store(
coverage, gr_name=gr.name, sample_name=sample.name, extend_reads=extend_reads
):
key = gr_name, sample_name, extend_reads
if key in coverage:
if key in _coverage:
raise ValueError("Douplicate key usage in coverage cache")
_coverages[key] = coverage

Expand Down

0 comments on commit bcfdad8

Please sign in to comment.