diff options
author | zsloan | 2019-03-18 17:03:30 -0500 |
---|---|---|
committer | zsloan | 2019-03-18 17:03:30 -0500 |
commit | d515061c4878b448f5b866e32eee7e37301ecdb7 (patch) | |
tree | f88efd6fb87044065d68ff1602a8d57692de5f1f /wqflask/base/data_set.py | |
parent | f8f0a2aecd14b7a45172d67d7eac3c9c2ac3618f (diff) | |
download | genenetwork2-d515061c4878b448f5b866e32eee7e37301ecdb7.tar.gz |
- Added PCA traits to correlation matrix. You can't change their names yet or add them to a collection from the corr matrix page,
but you can click them and access them from the trait page. I'll add the option to access them from the corr matrix page as well,
but adding the option to change their names might be trickier since they're currently used as their Redis keys. I need some better
way of passing the Redis key around so it can be stored in collections, but this is tricky without changing the structure in ElasticSearch
- Fixed the way temp traits work so you can use them with various functions, like mapping, correlations, network graph, etc
- Fixed some appearance issue where the network graph options were too wide if a trait name was too long
Diffstat (limited to 'wqflask/base/data_set.py')
-rw-r--r-- | wqflask/base/data_set.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/wqflask/base/data_set.py b/wqflask/base/data_set.py index ca6621e9..beb2a8a2 100644 --- a/wqflask/base/data_set.py +++ b/wqflask/base/data_set.py @@ -277,7 +277,6 @@ class DatasetGroup(object): """ def __init__(self, dataset, name=None): """This sets self.group and self.group_id""" - #logger.debug("DATASET NAME2:", dataset.name) if name == None: self.name, self.id, self.genetic_type = fetchone(dataset.query_for_group) else: @@ -500,7 +499,7 @@ class DataSet(object): self.setup() if self.type == "Temp": #Need to supply group name as input if temp trait - self.group = DatasetGroup(self, group_name) # sets self.group and self.group_id and gets genotype + self.group = DatasetGroup(self, name=group_name) # sets self.group and self.group_id and gets genotype else: self.check_confidentiality() self.retrieve_other_names() |