Skip to content

Commit ef78031

Browse files
force sync adir1.x with local
1 parent ccba402 commit ef78031

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

malariagen_data/adir1.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,6 @@ class Adir1(AnophelesDataResource):
7171
7272
"""
7373

74-
# _xpehh_gwss_cache_name = XPEHH_GWSS_CACHE_NAME
75-
# _ihs_gwss_cache_name = IHS_GWSS_CACHE_NAME
76-
7774
def __init__(
7875
self,
7976
url=None,

malariagen_data/anopheles.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -556,6 +556,11 @@ def _sample_count_het(
556556

557557
return sample_id, sample_set, windows, counts
558558

559+
@property
560+
@abstractmethod
561+
def _roh_hmm_cache_name(self):
562+
raise NotImplementedError("Must override _roh_hmm_cache_name")
563+
559564
@check_types
560565
@doc(
561566
summary="Infer runs of homozygosity for a single sample over a genome region.",
@@ -577,7 +582,7 @@ def roh_hmm(
577582

578583
resolved_region: Region = parse_single_region(self, region)
579584

580-
name = "roh"
585+
name = self._roh_hmm_cache_name
581586

582587
params = dict(
583588
sample=sample,

0 commit comments

Comments
 (0)