From b32e248eaf719440c1feac0089e4bb50b47067f1 Mon Sep 17 00:00:00 2001 From: Ivo Leist Date: Mon, 7 Oct 2024 02:53:23 +0200 Subject: [PATCH] added debug info --- phenoRankeR/R/app_server.R | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/phenoRankeR/R/app_server.R b/phenoRankeR/R/app_server.R index 0fd6af1..d0c837a 100644 --- a/phenoRankeR/R/app_server.R +++ b/phenoRankeR/R/app_server.R @@ -386,13 +386,16 @@ app_server <- function(input, output, session) { print("res") print(res) + print("nrow(res)") + print(nrow(res)) + # if the query does not return a result # return - # if (nrow(res) == 0) { - # print("no results found") - # return() - # } + if (nrow(res) == 0) { + print("no results found") + return() + } settings <- fromJSON(res$settings) print("settings")