diff options
author | zsloan | 2017-11-06 22:10:34 +0000 |
---|---|---|
committer | zsloan | 2017-11-06 22:10:34 +0000 |
commit | b2a3979f055492c0eef11253d669ee35c79c2004 (patch) | |
tree | 3dce3862172d2328b8640eacaee4aba7165e8d65 /wqflask/base/data_set.py | |
parent | e6a9a6719e03e2ac0acf328d29188ac00813e150 (diff) | |
parent | e3b27c18f379e969c06f8e0b79daf8b762d4fc1d (diff) | |
download | genenetwork2-b2a3979f055492c0eef11253d669ee35c79c2004.tar.gz |
Merge branch 'testing' of https://github.com/genenetwork/genenetwork2
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, |