Skip to content

Commit

Permalink
unuspervised test update
Browse files Browse the repository at this point in the history
  • Loading branch information
hechth committed Jul 25, 2024
1 parent 4cadd1d commit 701861e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/testthat/test-unsupervised.R
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ patrick::with_parameters_test_that(

result <- unsupervised(test_files, cluster = get_num_workers())
keys <- c("mz", "rt", "sample", "sample_rt", "sample_intensity")
actual <- result$recovered_feature_sample_table
actual <- as_tibble(result$recovered_feature_sample_table)

if (store_reports) {
report <- dataCompareR::rCompare(
Expand All @@ -32,6 +32,8 @@ patrick::with_parameters_test_that(
)
}

# arrow::write_parquet(actual, file.path("../testdata/unsupervised", paste0(.test_name, "_unsupervised_new.parquet")))

expect_equal(actual, expected)
},
patrick::cases(
Expand Down

0 comments on commit 701861e

Please sign in to comment.