@@ -72,14 +72,13 @@ def haplotype_frequencies(
7272 )
7373
7474 # Access haplotypes.
75- with self ._dask_progress (desc = "Load haplotypes" ):
76- ds_hap = self .haplotypes (
77- region = region ,
78- sample_sets = sample_sets ,
79- sample_query = sample_query ,
80- chunks = chunks ,
81- inline_array = inline_array ,
82- )
75+ ds_hap = self .haplotypes (
76+ region = region ,
77+ sample_sets = sample_sets ,
78+ sample_query = sample_query ,
79+ chunks = chunks ,
80+ inline_array = inline_array ,
81+ )
8382
8483 # Early check for no SNPs.
8584 if ds_hap .sizes ["variants" ] == 0 : # pragma: no cover
@@ -190,14 +189,13 @@ def haplotype_frequencies_advanced(
190189 )
191190
192191 # Access haplotypes.
193- with self ._dask_progress (desc = "Load haplotypes" ):
194- ds_haps = self .haplotypes (
195- region = region ,
196- sample_sets = sample_sets ,
197- sample_query = sample_query ,
198- chunks = chunks ,
199- inline_array = inline_array ,
200- )
192+ ds_haps = self .haplotypes (
193+ region = region ,
194+ sample_sets = sample_sets ,
195+ sample_query = sample_query ,
196+ chunks = chunks ,
197+ inline_array = inline_array ,
198+ )
201199
202200 # Early check for no SNPs.
203201 if ds_haps .sizes ["variants" ] == 0 : # pragma: no cover
0 commit comments