aboutsummaryrefslogtreecommitdiff
path: root/wqflask/base/mrna_assay_tissue_data.py
diff options
context:
space:
mode:
authorPjotr Prins2016-09-09 08:35:18 +0200
committerPjotr Prins2016-09-09 08:35:18 +0200
commit8744bf9c11481c910d029c3e6b1ae1adde27c271 (patch)
treeedfab9ad67d190ef22fe2c876583a9f2380d5f86 /wqflask/base/mrna_assay_tissue_data.py
parent7cc37bf2efba6873fccd0f1756c89d25400afd47 (diff)
parentccf8474f5f94891782891bd3677e6ddf5d08d24a (diff)
downloadgenenetwork2-8744bf9c11481c910d029c3e6b1ae1adde27c271.tar.gz
Merge branch 'master' of github.com:genenetwork/genenetwork2
Diffstat (limited to 'wqflask/base/mrna_assay_tissue_data.py')
-rw-r--r--wqflask/base/mrna_assay_tissue_data.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/wqflask/base/mrna_assay_tissue_data.py b/wqflask/base/mrna_assay_tissue_data.py
index e99ef7b5..eb836e6c 100644
--- a/wqflask/base/mrna_assay_tissue_data.py
+++ b/wqflask/base/mrna_assay_tissue_data.py
@@ -57,7 +57,7 @@ class MrnaAssayTissueData(object):
as x inner join TissueProbeSetXRef as t on t.Symbol = x.Symbol
and t.Mean = x.maxmean;
'''.format(in_clause)
- logger.sql(query)
+
results = g.db.execute(query).fetchall()
lower_symbols = []
@@ -91,7 +91,7 @@ class MrnaAssayTissueData(object):
def get_symbol_values_pairs(self):
id_list = [self.data[symbol].data_id for symbol in self.data]
-
+
symbol_values_dict = {}
if len(id_list) > 0:
@@ -100,8 +100,6 @@ class MrnaAssayTissueData(object):
WHERE TissueProbeSetData.Id IN {} and
TissueProbeSetXRef.DataId = TissueProbeSetData.Id""".format(db_tools.create_in_clause(id_list))
- logger.sql('tissue query',query)
-
results = g.db.execute(query).fetchall()
for result in results:
if result.Symbol.lower() not in symbol_values_dict: