From 94fc3feddc1d7c296137f19170c8f5e13ec80f9f Mon Sep 17 00:00:00 2001 From: Mia Pras-Raves Date: Fri, 27 Mar 2026 09:07:51 +0100 Subject: [PATCH] added fix for empty output in DIMS/preprocessing/evaluate_tics_functions.R --- DIMS/preprocessing/evaluate_tics_functions.R | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/DIMS/preprocessing/evaluate_tics_functions.R b/DIMS/preprocessing/evaluate_tics_functions.R index 318ce2b..8cb782e 100644 --- a/DIMS/preprocessing/evaluate_tics_functions.R +++ b/DIMS/preprocessing/evaluate_tics_functions.R @@ -30,6 +30,12 @@ find_bad_replicates <- function(repl_pattern, thresh2remove) { } } cat("\n") + if (length(remove_pos) == 0) { + remove_pos <- "none" + } + if (length(remove_neg) == 0) { + remove_neg <- "none" + } # write information on miss_infusions for both scan modes write.table(remove_pos, file = paste0("miss_infusions_positive.txt"),