Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
csangara committed Oct 3, 2024
1 parent be8c2eb commit 6fbfe87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions unit-test/test_run_dataset.R
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ for (method in methods){
expect_equal(colnames(output_props), celltypenames)

# Check 2
if (method != "dstg"){
if (!method %in% c("dstg", "destvi")){
cat(">>> Checking whether proportions are correct...\n")
expected_props <- read.table(paste0("unit-test/test_run_dataset/",
"proportions_", method, "_test_sp_data"),
Expand All @@ -48,7 +48,7 @@ for (method in methods){
expect_equal(colnames(output_metrics), metric_names)

# Check 4
if (method != "dstg"){
if (!method %in% c("dstg", "destvi")){
cat(">>> Checking whether metrics are correct...\n")
expected_metrics <- read.table(paste0("unit-test/test_run_dataset/",
"metrics_", method, "_test_sp_data"),
Expand Down

0 comments on commit 6fbfe87

Please sign in to comment.