Skip to content

Commit f7ba548

Browse files
astheeggeggsmergify[bot]
authored andcommitted
Add backwards algorithm for haploid data, using lshmm for testing
1 parent 60d75c6 commit f7ba548

File tree

4 files changed

+603
-794
lines changed

4 files changed

+603
-794
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ jobs:
8383
/usr/share/miniconda/envs/anaconda-client-env
8484
~/osx-conda
8585
~/.profile
86-
key: ${{ runner.os }}-${{ matrix.python}}-conda-v11-${{ hashFiles('python/requirements/CI-tests-conda/requirements.txt') }}-${{ hashFiles('python/requirements/CI-tests-pip/requirements.txt') }}
86+
key: ${{ runner.os }}-${{ matrix.python}}-conda-v12-${{ hashFiles('python/requirements/CI-tests-conda/requirements.txt') }}-${{ hashFiles('python/requirements/CI-tests-pip/requirements.txt') }}
8787

8888
- name: Install Conda
8989
uses: conda-incubator/setup-miniconda@v2

python/requirements/CI-tests-pip/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
lshmm==0.0.4; python_version < '3.11'
1+
lshmm==0.0.4
22
numpy==1.21.6; python_version < '3.11' # Held at 1.21.6 for Python 3.7 compatibility
33
numpy==1.24.1; python_version > '3.10'
44
pytest==7.1.3

python/tests/test_genotype_matching_fb.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -754,7 +754,6 @@ def compute_next_probability_dict(
754754
query_is_missing,
755755
):
756756
mu = self.mu[site_id]
757-
758757
template_is_hom = np.logical_not(template_is_het)
759758

760759
if query_is_missing:

0 commit comments

Comments
 (0)