aboutsummaryrefslogtreecommitdiff
path: root/wqflask/base/mrna_assay_tissue_data.py
diff options
context:
space:
mode:
authorPjotr Prins2016-09-25 08:51:28 +0000
committerPjotr Prins2016-09-25 08:51:28 +0000
commit0f602fd058934feaaa37eb72d055bfcfcfc9ef8f (patch)
treeab3f4415560fec1157aa2e41375495114092a4c3 /wqflask/base/mrna_assay_tissue_data.py
parent828287669ded48da7712bfbaf320d5f4a8abe163 (diff)
parente8a5cb1fba08f5d35f7392a1f8af54bf8ae65821 (diff)
downloadgenenetwork2-0f602fd058934feaaa37eb72d055bfcfcfc9ef8f.tar.gz
Merge branch 'master' into chfi
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: