Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions malariagen_data/anoph/cnv_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -745,6 +745,9 @@ def plot_cnv_hmm_coverage_track(
debug("remove data where HMM is not called")
data = data.query("call_CN >= 0")

if len(data) == 0:
return None

debug("set up y range")
if y_max == "auto":
y_max_float = data["call_CN"].max() + 2
Expand Down
Loading