From d06d81615021609dac37f8958a536de412fe1f05 Mon Sep 17 00:00:00 2001 From: Artem Tarasov Date: Mon, 18 May 2015 08:25:43 +0300 Subject: fix broken trait page --- wqflask/wqflask/show_trait/SampleList.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wqflask') 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 -- cgit v1.2.3