Skip to content

Commit e78648c

Browse files
committed
refactor: extract AnophelesHetAnalysis into anoph/heterozygosity.py
- Move heterozygosity and ROH analysis methods from anopheles.py to new AnophelesHetAnalysis class in anoph/heterozygosity.py - Implement _roh_hmm_cache_name property (fixes #900) - Add ValueError guard for window_size > available sites in _sample_count_het - Replace deprecated inplace=True in _roh_hmm_predict - Add unit tests in tests/anoph/test_heterozygosity.py Part of #366
1 parent 7354522 commit e78648c

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

malariagen_data/anopheles.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
dash_params,
2020
gplt_params,
2121
hapnet_params,
22-
het_params,
2322
ihs_params,
2423
plotly_params,
2524
xpehh_params,
@@ -49,10 +48,9 @@
4948
from .anoph.heterozygosity import AnophelesHetAnalysis
5049
from .util import (
5150
CacheMiss,
52-
Region,
51+
Region, # noqa: F401 (re-exported via __init__.py)
5352
_check_types,
5453
_jackknife_ci,
55-
_parse_single_region,
5654
_plotly_discrete_legend,
5755
)
5856

0 commit comments

Comments
 (0)