diff options
-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 |