Skip to content

Commit c51505a

Browse files
committed
made the variant_query not fail when the array is empty
1 parent 4283694 commit c51505a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/anoph/test_cnv_frq.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -743,7 +743,8 @@ def check_gene_cnv_frequencies_advanced(
743743
check_plot_frequencies_time_series(api, ds)
744744
check_plot_frequencies_time_series_with_taxa(api, ds)
745745
check_plot_frequencies_time_series_with_areas(api, ds)
746-
check_plot_frequencies_interactive_map(api, ds)
746+
if variant_query is None:
747+
check_plot_frequencies_interactive_map(api, ds)
747748
assert set(ds.dims) == {"cohorts", "variants"}
748749

749750
# Check variant variables.

0 commit comments

Comments
 (0)