aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xwqflask/basicStatistics/BasicStatisticsFunctions.py4
-rwxr-xr-xwqflask/wqflask/show_trait/DataEditingPage.py1
2 files changed, 5 insertions, 0 deletions
diff --git a/wqflask/basicStatistics/BasicStatisticsFunctions.py b/wqflask/basicStatistics/BasicStatisticsFunctions.py
index d2584bdd..74784853 100755
--- a/wqflask/basicStatistics/BasicStatisticsFunctions.py
+++ b/wqflask/basicStatistics/BasicStatisticsFunctions.py
@@ -4,6 +4,7 @@ from __future__ import print_function
from math import *
#import piddle as pid
#import os
+import traceback
from pprint import pformat as pf
@@ -18,6 +19,7 @@ from base import webqtlConfig
from dbFunction import webqtlDatabaseFunction
def basicStatsTable(vals, trait_type=None, cellid=None, heritability=None):
+ print("basicStatsTable called - len of vals", len(vals))
st = {} # This is the dictionary where we'll put everything for the template
valsOnly = []
dataXZ = vals[:]
@@ -48,6 +50,8 @@ def basicStatsTable(vals, trait_type=None, cellid=None, heritability=None):
at75 = stats.percentile(75)
at25 = stats.percentile(25)
+ print("should get a stack")
+ traceback.print_stack()
print("Interquartile:", at75 - at25)
#tbl.append(HT.TR(HT.TD("Statistic",align="left", Class="fs14 fwb ffl b1 cw cbrb", width = 180),
diff --git a/wqflask/wqflask/show_trait/DataEditingPage.py b/wqflask/wqflask/show_trait/DataEditingPage.py
index d82c47d5..a496a919 100755
--- a/wqflask/wqflask/show_trait/DataEditingPage.py
+++ b/wqflask/wqflask/show_trait/DataEditingPage.py
@@ -175,6 +175,7 @@ class DataEditingPage(templatePage):
else:
pass
# We'll get this part working later
+ print("Calling dispBasicStatistics")
self.dispBasicStatistics(fd, thisTrait)
#self.dispMappingTools(fd, title4Body, thisTrait)