Skip to content

Commit 53e789f

Browse files
authored
Merge pull request #305 from VesnaT/fix_pp
[FIX] TestSelectMostVariableGene: fix failing test
2 parents e469c8b + 3c55254 commit 53e789f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

orangecontrib/single_cell/tests/preprocess/test_scpreprocess.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def test_default(self):
117117
pp_table = SelectMostVariableGenes(n_genes=2, n_groups=2)(table)
118118
self.assertIsInstance(pp_table, Table)
119119
self.assertNotEqual(pp_table, table)
120-
npt.assert_array_equal(pp_table, table[:, [0, 2]])
120+
npt.assert_array_equal(pp_table, table[:, :2])
121121

122122
def test_options_dispersion(self):
123123
attrs, cls = self.data.domain.attributes, self.data.domain.class_vars

0 commit comments

Comments
 (0)