Skip to content

Commit

Permalink
paranoia for plot coverages, bugfix2
Browse files Browse the repository at this point in the history
  • Loading branch information
TyberiusPrime committed Nov 27, 2024
1 parent bcfdad8 commit cd13def
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 _coverages:
raise ValueError("Douplicate key usage in coverage cache")
_coverages[key] = coverage

Expand Down

0 comments on commit cd13def

Please sign in to comment.