We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 932d6a8 commit 8a0bf11Copy full SHA for 8a0bf11
4 files changed
stumpy/aamp_ostinato.py
@@ -126,7 +126,7 @@ def _get_aamp_central_motif(
126
if (
127
np.isclose(candidate_nns_radii.max(), bsf_radius)
128
and candidate_nns_radii.mean() < bsf_nns_mean_radii
129
- ): # pragma: no cover
+ ):
130
bsf_Ts_idx = Ts_idx
131
bsf_subseq_idx = subseq_idx
132
bsf_nns_mean_radii = candidate_nns_radii.mean()
stumpy/ostinato.py
@@ -122,7 +122,7 @@ def _get_central_motif(Ts, bsf_radius, bsf_Ts_idx, bsf_subseq_idx, m, M_Ts, Σ_T
122
123
124
125
tests/test_aamp_ostinato.py
@@ -29,7 +29,7 @@ def test_random_ostinato(seed):
29
npt.assert_almost_equal(ref_subseq_idx, comp_subseq_idx)
30
31
32
-@pytest.mark.parametrize("seed", [79, 109, 112, 133, 151, 161, 251, 275, 309, 355])
+@pytest.mark.parametrize("seed", [41, 88, 290, 292, 310, 328, 538, 556, 563, 570])
33
def test_deterministic_ostinato(seed):
34
m = 50
35
np.random.seed(seed)
@@ -62,7 +62,7 @@ def test_random_ostinatoed(seed, dask_cluster):
62
63
64
65
66
def test_deterministic_ostinatoed(seed, dask_cluster):
67
with Client(dask_cluster) as dask_client:
68
tests/test_gpu_aamp_ostinato.py
@@ -28,7 +28,7 @@ def test_random_gpu_aamp_ostinato(seed):
28
-@pytest.mark.parametrize("seed", [79, 109])
+@pytest.mark.parametrize("seed", [41, 88])
def test_deterministic_gpu_aamp_ostinato(seed):
0 commit comments