We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f76a9f9 commit a02223bCopy full SHA for a02223b
tests/test_sequencing.py
@@ -530,7 +530,10 @@ def test_different_n_opers(self):
530
n_coeffs[permutation],
531
n_ids[permutation])),
532
dt)
533
- more_n_idx = sample(range(10), rng.integers(2, 5))
+
534
+ # draw more noise indices, but make sure they're not exactly the same
535
+ while sorted(more_n_idx := sample(range(10), rng.integers(2, 5))) == sorted(n_idx):
536
+ continue
537
more_n_opers = opers[more_n_idx]
538
more_n_coeffs = np.ones((more_n_opers.shape[0], n_dt))
539
more_n_coeffs *= np.abs(rng.standard_normal(
0 commit comments