diff options
author | Artem Tarasov | 2015-05-18 08:25:43 +0300 |
---|---|---|
committer | Artem Tarasov | 2015-05-18 08:25:43 +0300 |
commit | d06d81615021609dac37f8958a536de412fe1f05 (patch) | |
tree | 84ed4825aa29daa2949b2bb3d914a45b25589f4d /wqflask | |
parent | a49791725465ed424c846dec6054e2dfd319932a (diff) | |
download | genenetwork2-d06d81615021609dac37f8958a536de412fe1f05.tar.gz |
fix broken trait page
Diffstat (limited to 'wqflask')
-rwxr-xr-x | wqflask/wqflask/show_trait/SampleList.py | 2 |
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 |