From ccf8474f5f94891782891bd3677e6ddf5d08d24a Mon Sep 17 00:00:00 2001 From: zsloan Date: Fri, 2 Sep 2016 18:00:42 +0000 Subject: Added Network Graph feature that uses cytoscape.js. Currently you can view GN2 and third party links when clicking a node, view scatterplot when clicking an edge, and edges appearance varies based upon correlation Fixed issue that caused error with correlation page --- wqflask/base/mrna_assay_tissue_data.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'wqflask/base') 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: -- cgit v1.2.3