From 9515b97ae134ab923f935fa66b6a378056d616d0 Mon Sep 17 00:00:00 2001 From: Sam Ockman Date: Thu, 5 Jul 2012 16:53:19 -0400 Subject: Working with Zach --- wqflask/wqflask/show_trait/DataEditingPage.py | 24 ++++++++++++++++++++++ .../wqflask/templates/trait_data_and_analysis.html | 11 +++++----- wqflask/wqflask/views.py | 24 ++++++++++++---------- 3 files changed, 42 insertions(+), 17 deletions(-) diff --git a/wqflask/wqflask/show_trait/DataEditingPage.py b/wqflask/wqflask/show_trait/DataEditingPage.py index b1cf5a32..81bb3a92 100755 --- a/wqflask/wqflask/show_trait/DataEditingPage.py +++ b/wqflask/wqflask/show_trait/DataEditingPage.py @@ -6,6 +6,8 @@ import cPickle from collections import OrderedDict #import pyXLWriter as xl +import yaml + from htmlgen import HTMLgen2 as HT from base import webqtlConfig @@ -210,6 +212,28 @@ class DataEditingPage(templatePage): self.thisTrait = thisTrait self.hddn = hddn + self.basic_table = {} + self.basic_table['rows'] = yaml.load(""" + - N of Samples + - Mean + - Median + - Standard Error (SE) + - Standard Deviation (SD) + - Minimum + - Maximum + - Range (log2) + - Range (fold) + - Interquartile Range + """) + + self.basic_table['columns'] = yaml.load(""" + - All Cases + - BXD Only + - Non-BXD Only + """) + + print(pf(self.basic_table)) + ########################################## ## Function to display header ########################################## diff --git a/wqflask/wqflask/templates/trait_data_and_analysis.html b/wqflask/wqflask/templates/trait_data_and_analysis.html index 1916a10c..0304aa03 100644 --- a/wqflask/wqflask/templates/trait_data_and_analysis.html +++ b/wqflask/wqflask/templates/trait_data_and_analysis.html @@ -258,6 +258,8 @@ //--> +
@@ -3109,13 +3111,10 @@ |