diff --git a/DESCRIPTION b/DESCRIPTION index 46cea7d..a7f09ac 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,5 +1,5 @@ Package: cytoviewer -Version: 1.3.2 +Version: 1.3.3 Title: An interactive multi-channel image viewer for R Description: This R package supports interactive visualization of multi-channel images diff --git a/NEWS b/NEWS index 0f53b0e..bf96538 100644 --- a/NEWS +++ b/NEWS @@ -45,3 +45,6 @@ Changes in version 1.3.1 (2024-01-04): Changes in version 1.3.2 (2024-01-05): + added pixel resolution option + +Changes in version 1.3.3 (2024-01-05): ++ updated README and added tests diff --git a/tests/testthat/test_cytoviewer_functions.R b/tests/testthat/test_cytoviewer_functions.R index 5de1872..355c313 100644 --- a/tests/testthat/test_cytoviewer_functions.R +++ b/tests/testthat/test_cytoviewer_functions.R @@ -149,8 +149,11 @@ test_that("cytoviewer: validity check testing works", { cur_object_3 <- pancreasSCE colData(cur_object_3)[["CellNb"]] <- as.character(colData(cur_object_3)[["CellNb"]]) + cur_object_4 <- pancreasSCE + colData(cur_object_4)[["CellNb"]][1] <- 824.1 + expect_error(cytoviewer(mask = pancreasMasks, - object = cur_object_3, + object = cur_object_4, img_id = "ImageNb", cell_id = "CellNb"), regexp = "Cell ids should only contain numeric integer values.",