Skip to content

Commit

Permalink
Test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bbimber committed Sep 18, 2024
1 parent 7806f7f commit 3a883fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test-celltypist.R
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ test_that("celltypist runs with batchSize", {
print(table(seuratObj$majority_voting))

# This should be identical to the test above
expect_equal(13, length(unique(seuratObj$cellclass)), info = 'using default model', tolerance = 0)
expect_equal(12, length(unique(seuratObj$cellclass)), info = 'using default model', tolerance = 0)
expect_equal(28, length(unique(seuratObj$majority_voting)), info = 'using default model', tolerance = 1) # NOTE: getting different outcomes on devel vs. 3.16, perhaps due to some package difference? the difference is ambugious calls
expect_equal(110, length(unique(seuratObj$predicted_labels)))
expect_equal(289, unname(table(seuratObj$predicted_labels)['B cells']))
Expand Down

0 comments on commit 3a883fe

Please sign in to comment.