aboutsummaryrefslogtreecommitdiff
path: root/wqflask/base
diff options
context:
space:
mode:
authorzsloan2016-09-02 18:00:42 +0000
committerzsloan2016-09-02 18:00:42 +0000
commitccf8474f5f94891782891bd3677e6ddf5d08d24a (patch)
tree43f5083070f430aac34fdbc223bc304e8c172dfd /wqflask/base
parent2efd33c5dc88ce0663b2a64bf456eb8dbc678f23 (diff)
downloadgenenetwork2-ccf8474f5f94891782891bd3677e6ddf5d08d24a.tar.gz
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
Diffstat (limited to 'wqflask/base')
-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: