aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorzsloan2015-05-18 10:21:02 -0500
committerzsloan2015-05-18 10:21:02 -0500
commit3c7f45518bee2d49046f1135bac0749e568efc15 (patch)
tree84ed4825aa29daa2949b2bb3d914a45b25589f4d /wqflask
parenta49791725465ed424c846dec6054e2dfd319932a (diff)
parentd06d81615021609dac37f8958a536de412fe1f05 (diff)
downloadgenenetwork2-3c7f45518bee2d49046f1135bac0749e568efc15.tar.gz
Merge pull request #51 from lomereiter/upstream
fix broken trait page
Diffstat (limited to 'wqflask')
-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