From 8dcd0744f52ad3db2962419c3957a7076e17cccc Mon Sep 17 00:00:00 2001 From: samarth8392 Date: Thu, 3 Oct 2024 15:58:25 -0400 Subject: [PATCH 1/2] fix: issue #120 --- workflow/scripts/assess_significance.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workflow/scripts/assess_significance.R b/workflow/scripts/assess_significance.R index e32f7f7..3e64bc4 100644 --- a/workflow/scripts/assess_significance.R +++ b/workflow/scripts/assess_significance.R @@ -48,7 +48,7 @@ for (i in c(1:length(cnvs[, 1]))) { } KS <- function(values, normals) { resultks <- try(ks.test(values, score(normals)), silent = TRUE) - if (class(resultks) == "try-error") { + if (paste(class(resultks), collapse="_") == "try-error") { return(list("statistic" = NA, "p.value" = NA, "alternative" = NA, "method" = NA, "data.name" = NA)) } else { resultks From 886e6b2486c952f54c2da2e61930a29c719a24f3 Mon Sep 17 00:00:00 2001 From: samarth8392 Date: Thu, 3 Oct 2024 15:58:42 -0400 Subject: [PATCH 2/2] chore: update CHANGELOG.md --- CHANGELOG.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6c77359..c549b8d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,7 @@ ## XAVIER development version - +- Bug fixes: + - Fix minor bug in assess_significance.R script associated with rule freec_exome_somatic (#120, @samarth8392) + ## XAVIER 3.1.1 - New contributing guide available on GitHub and the documentation website. (#114, @kelly-sovacool)