Skip to content

Commit

Permalink
fix cores for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
stemangiola committed Nov 15, 2023
1 parent 8678561 commit 4b167df
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion R/methods.R
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ sccomp_estimate.data.frame = function(.data,
#' count,
#' cores = 1
#' ) |>
#' sccomp_remove_outliers()
#' sccomp_remove_outliers(cores = 1)
#'
#' @export
#'
Expand Down
2 changes: 1 addition & 1 deletion man/sccomp_remove_outliers.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions tests/testthat/test-sccomp_.R
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ test_that("outliers",{


my_estimate |>
sccomp_remove_unwanted_variation(formula_composition = ~ type)
sccomp_remove_outliers(cores = 1)

})

Expand Down Expand Up @@ -448,10 +448,10 @@ test_that("test constrasts",{
formula_composition = ~ type ,
formula_variability = ~ 1,
sample, cell_group,
check_outliers = FALSE,
approximate_posterior_inference = FALSE,
cores = 1,
mcmc_seed = 42, max_sampling_iterations = 1000
mcmc_seed = 42,
max_sampling_iterations = 1000
)

new_test =
Expand Down

0 comments on commit 4b167df

Please sign in to comment.