diff options
author | zsloan | 2017-11-06 22:05:28 +0000 |
---|---|---|
committer | zsloan | 2017-11-06 22:05:28 +0000 |
commit | e3b27c18f379e969c06f8e0b79daf8b762d4fc1d (patch) | |
tree | 3dce3862172d2328b8640eacaee4aba7165e8d65 /wqflask/base/data_set.py | |
parent | 74d24925463df1cb03cf21c7c3a83241e864361d (diff) | |
download | genenetwork2-e3b27c18f379e969c06f8e0b79daf8b762d4fc1d.tar.gz |
Replaced Histogram and Bar Chart with Plotly version and added new Box Plot with Plotly
GEMMA now has option to select genotypes
Updated dataset select dropdowns to be ordered correctly
Fixed dataset select dropdowns for correlations to not show confidential datasets
Added Skewness and Kurtosis to Basic Statistics table
Fixed Verify and RNA-seq buttons on trait page
Temporarily hardcoded Reference page until we get it to link with database
Diffstat (limited to 'wqflask/base/data_set.py')
-rw-r--r-- | wqflask/base/data_set.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/wqflask/base/data_set.py b/wqflask/base/data_set.py index dbdbb51c..6649f8af 100644 --- a/wqflask/base/data_set.py +++ b/wqflask/base/data_set.py @@ -111,7 +111,7 @@ Publish or ProbeSet. E.g. new_type = "ProbeSet" self.datasets[short_dataset_name] = new_type # Set LOG_LEVEL_DEBUG=5 to see the following: - logger.debugf(5,"datasets",self.datasets) + logger.debugf(5, "datasets",self.datasets) def __call__(self, name): return self.datasets[name] @@ -426,13 +426,15 @@ def datasets(group_name, this_group = None): FROM PublishFreeze,InbredSet WHERE PublishFreeze.InbredSetId = InbredSet.Id and InbredSet.Name = '%s' - and PublishFreeze.public > %s) + and PublishFreeze.public > %s + and PublishFreeze.confidentiality < 1) UNION (SELECT '#GenoFreeze',GenoFreeze.FullName,GenoFreeze.Name FROM GenoFreeze, InbredSet WHERE GenoFreeze.InbredSetId = InbredSet.Id and InbredSet.Name = '%s' - and GenoFreeze.public > %s) + and GenoFreeze.public > %s + and GenoFreeze.confidentiality < 1) UNION (SELECT Tissue.Name, ProbeSetFreeze.FullName,ProbeSetFreeze.Name FROM ProbeSetFreeze, ProbeFreeze, InbredSet, Tissue @@ -441,6 +443,7 @@ def datasets(group_name, this_group = None): and ProbeFreeze.InbredSetId = InbredSet.Id and InbredSet.Name like %s and ProbeSetFreeze.public > %s + and ProbeSetFreeze.confidentiality < 1 ORDER BY Tissue.Name, ProbeSetFreeze.CreateTime desc, ProbeSetFreeze.AvgId) ''' % (group_name, webqtlConfig.PUBLICTHRESH, group_name, webqtlConfig.PUBLICTHRESH, |