From ce2076a79376097f75058effbd7e1806afab22d0 Mon Sep 17 00:00:00 2001 From: adkinsrs Date: Mon, 12 Aug 2024 19:00:22 -0400 Subject: [PATCH] Fixing UnboundError --- www/api/resources/projectr.py | 1 + 1 file changed, 1 insertion(+) diff --git a/www/api/resources/projectr.py b/www/api/resources/projectr.py index d0a1a05c..0440923b 100644 --- a/www/api/resources/projectr.py +++ b/www/api/resources/projectr.py @@ -662,6 +662,7 @@ def post(self, dataset_id): dataset_genes = config.get('num_dataset_genes', -1) break + message = "" if common_genes: message = "Found {} common genes between the target dataset ({} genes) and the pattern file ({} genes).".format(common_genes, dataset_genes, genecart_genes)