From 57d6d5c279a0386cd6e6ebd1c075c97487a3ee13 Mon Sep 17 00:00:00 2001 From: zsloan Date: Fri, 15 Feb 2019 10:47:59 -0600 Subject: Fixed error caused by change to N values in database (now takes strings instead of integers) Fixed error that caused N to show up as "null" in the trait sample table instead of "x" --- wqflask/base/webqtlCaseData.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wqflask/base') diff --git a/wqflask/base/webqtlCaseData.py b/wqflask/base/webqtlCaseData.py index aa34024c..d8487f01 100644 --- a/wqflask/base/webqtlCaseData.py +++ b/wqflask/base/webqtlCaseData.py @@ -81,6 +81,6 @@ class webqtlCaseData(object): @property def display_num_cases(self): if self.num_cases != None: - return "%d" % self.num_cases + return "%s" % self.num_cases else: return "x" -- cgit 1.4.1