From e3b27c18f379e969c06f8e0b79daf8b762d4fc1d Mon Sep 17 00:00:00 2001 From: zsloan Date: Mon, 6 Nov 2017 22:05:28 +0000 Subject: 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 --- wqflask/base/data_set.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'wqflask/base/data_set.py') 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, -- cgit v1.2.3