Skip to content

Commit 0acb93a

Browse files
committed
made changes as requested
1 parent c71a6e9 commit 0acb93a

4 files changed

Lines changed: 28 additions & 12 deletions

File tree

malariagen_data/adir1.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@
1919
"dirus": TAXON_PALETTE[0],
2020
}
2121

22+
XPEHH_GWSS_CACHE_NAME = "adir1_xpehh_gwss_v1"
23+
IHS_GWSS_CACHE_NAME = "adir1_ihs_gwss_v1"
24+
ROH_HMM_CACHE_NAME = "adir1_roh_hmm_v1"
25+
2226

2327
class Adir1(AnophelesDataResource):
2428
"""Provides access to data from Adir1.0 releases.
@@ -71,9 +75,9 @@ class Adir1(AnophelesDataResource):
7175
7276
"""
7377

74-
_xpehh_gwss_cache_name = "adir1_xpehh_gwss_v1"
75-
_ihs_gwss_cache_name = "adir1_ihs_gwss_v1"
76-
_roh_hmm_cache_name = "adir1_roh_hmm_v1"
78+
_xpehh_gwss_cache_name = XPEHH_GWSS_CACHE_NAME
79+
_ihs_gwss_cache_name = IHS_GWSS_CACHE_NAME
80+
_roh_hmm_cache_name = ROH_HMM_CACHE_NAME
7781

7882
def __init__(
7983
self,

malariagen_data/af1.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@
2121
"funestus": TAXON_PALETTE[0],
2222
}
2323

24+
XPEHH_GWSS_CACHE_NAME = "af1_xpehh_gwss_v1"
25+
IHS_GWSS_CACHE_NAME = "af1_ihs_gwss_v1"
26+
ROH_HMM_CACHE_NAME = "af1_roh_hmm_v1"
27+
2428

2529
class Af1(AnophelesDataResource):
2630
"""Provides access to data from Af1.x releases.
@@ -73,9 +77,9 @@ class Af1(AnophelesDataResource):
7377
7478
"""
7579

76-
_xpehh_gwss_cache_name = "af1_xpehh_gwss_v1"
77-
_ihs_gwss_cache_name = "af1_ihs_gwss_v1"
78-
_roh_hmm_cache_name = "af1_roh_hmm_v1"
80+
_xpehh_gwss_cache_name = XPEHH_GWSS_CACHE_NAME
81+
_ihs_gwss_cache_name = IHS_GWSS_CACHE_NAME
82+
_roh_hmm_cache_name = ROH_HMM_CACHE_NAME
7983

8084
def __init__(
8185
self,

malariagen_data/ag3.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,10 @@ def _setup_aim_palettes():
8787
"aim_species": "object",
8888
}
8989

90+
XPEHH_GWSS_CACHE_NAME = "ag3_xpehh_gwss_v1"
91+
IHS_GWSS_CACHE_NAME = "ag3_ihs_gwss_v1"
92+
ROH_HMM_CACHE_NAME = "ag3_roh_hmm_v1"
93+
9094

9195
class Ag3(AnophelesDataResource):
9296
"""Provides access to data from Ag3.x releases.
@@ -143,9 +147,9 @@ class Ag3(AnophelesDataResource):
143147
144148
"""
145149

146-
_xpehh_gwss_cache_name = "ag3_xpehh_gwss_v1"
147-
_ihs_gwss_cache_name = "ag3_ihs_gwss_v1"
148-
_roh_hmm_cache_name = "ag3_roh_hmm_v1"
150+
_xpehh_gwss_cache_name = XPEHH_GWSS_CACHE_NAME
151+
_ihs_gwss_cache_name = IHS_GWSS_CACHE_NAME
152+
_roh_hmm_cache_name = ROH_HMM_CACHE_NAME
149153

150154
def __init__(
151155
self,

malariagen_data/amin1.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@
1919
"dirus": TAXON_PALETTE[0],
2020
}
2121

22+
XPEHH_GWSS_CACHE_NAME = "amin1_xpehh_gwss_v1"
23+
IHS_GWSS_CACHE_NAME = "amin1_ihs_gwss_v1"
24+
ROH_HMM_CACHE_NAME = "amin1_roh_hmm_v1"
25+
2226

2327
class Amin1(AnophelesDataResource):
2428
"""Provides access to data from Amin1.0 releases.
@@ -71,9 +75,9 @@ class Amin1(AnophelesDataResource):
7175
7276
"""
7377

74-
_xpehh_gwss_cache_name = "amin1_xpehh_gwss_v1"
75-
_ihs_gwss_cache_name = "amin1_ihs_gwss_v1"
76-
_roh_hmm_cache_name = "amin1_roh_hmm_v1"
78+
_xpehh_gwss_cache_name = XPEHH_GWSS_CACHE_NAME
79+
_ihs_gwss_cache_name = IHS_GWSS_CACHE_NAME
80+
_roh_hmm_cache_name = ROH_HMM_CACHE_NAME
7781

7882
def __init__(
7983
self,

0 commit comments

Comments
 (0)