diff options
Diffstat (limited to 'wqflask/base')
-rw-r--r-- | wqflask/base/mrna_assay_tissue_data.py | 6 |
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: |