aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtem Tarasov2015-05-18 08:25:43 +0300
committerArtem Tarasov2015-05-18 08:25:43 +0300
commitd06d81615021609dac37f8958a536de412fe1f05 (patch)
tree84ed4825aa29daa2949b2bb3d914a45b25589f4d
parenta49791725465ed424c846dec6054e2dfd319932a (diff)
downloadgenenetwork2-d06d81615021609dac37f8958a536de412fe1f05.tar.gz
fix broken trait page
-rwxr-xr-xwqflask/wqflask/show_trait/SampleList.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/show_trait/SampleList.py b/wqflask/wqflask/show_trait/SampleList.py
index 46f2ae43..e98870e3 100755
--- a/wqflask/wqflask/show_trait/SampleList.py
+++ b/wqflask/wqflask/show_trait/SampleList.py
@@ -26,6 +26,7 @@ class SampleList(object):
self.header = header
self.sample_list = [] # The actual list
+ self.sample_attribute_values = {}
self.get_attributes()
print("camera: attributes are:", pf(self.attributes))
@@ -156,7 +157,6 @@ class SampleList(object):
self.attributes[key].distinct_values.sort(key=natural_sort_key)
def get_extra_attribute_values(self):
- self.sample_attribute_values = {}
if self.attributes:
results = g.db.execute('''
SELECT Strain.Name AS SampleName, CaseAttributeId AS Id, CaseAttributeXRef.Value