diff options
author | zsloan | 2019-04-10 11:00:03 -0500 |
---|---|---|
committer | zsloan | 2019-04-10 11:00:03 -0500 |
commit | 86b669c299a6822899ec86205f6a2f84385d350f (patch) | |
tree | c43da92964cb9ded4c063725339a7ea6909a73ab /wqflask | |
parent | c8a0287f7059e1d723ae4b57eee88f3a4937d2f2 (diff) | |
download | genenetwork2-86b669c299a6822899ec86205f6a2f84385d350f.tar.gz |
Fixed issue that was causing submitted temp traits to not work
Diffstat (limited to 'wqflask')
-rw-r--r-- | wqflask/wqflask/show_trait/show_trait.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/wqflask/wqflask/show_trait/show_trait.py b/wqflask/wqflask/show_trait/show_trait.py index d514cbeb..53aa1676 100644 --- a/wqflask/wqflask/show_trait/show_trait.py +++ b/wqflask/wqflask/show_trait/show_trait.py @@ -52,13 +52,12 @@ class ShowTrait(object): self.temp_species = kw['species'] self.temp_group = kw['group'] self.dataset = data_set.create_dataset(dataset_name = "Temp", dataset_type = "Temp", group_name = self.temp_group) + # Put values in Redis so they can be looked up later if added to a collection + Redis.set(self.trait_id, kw['trait_paste']) + self.trait_vals = kw['trait_paste'].split() self.this_trait = GeneralTrait(dataset=self.dataset, name=self.trait_id, cellid=None) - self.trait_vals = kw['trait_paste'].split() - - # Put values in Redis so they can be looked up later if added to a collection - Redis.set(self.trait_id, kw['trait_paste']) else: self.temp_trait = True self.trait_id = kw['trait_id'] |