diff options
author | Alexander Kabui | 2021-05-15 01:05:48 +0300 |
---|---|---|
committer | Alexander Kabui | 2021-05-15 01:05:48 +0300 |
commit | bcba700bd2835f0a36042d781860b3407519f6d8 (patch) | |
tree | 1ef75b4f8158e7d0424cc3d3ad37e4848b82e3c9 /gn3/computations | |
parent | 0f2b3be58b8265858d17581b85cab5ac4f13e097 (diff) | |
download | genenetwork3-bcba700bd2835f0a36042d781860b3407519f6d8.tar.gz |
index lit tuple result
Diffstat (limited to 'gn3/computations')
-rw-r--r-- | gn3/computations/correlations.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gn3/computations/correlations.py b/gn3/computations/correlations.py index d496cec..4fdf8cf 100644 --- a/gn3/computations/correlations.py +++ b/gn3/computations/correlations.py @@ -257,7 +257,7 @@ def fetch_lit_correlation_data( cursor.execute(query_formatter(query, *tuple(reversed(query_values)))) lit_corr_results = cursor.fetchone() - lit_results = (gene_id, lit_corr_results.val)\ + lit_results = (gene_id, lit_corr_results[1])\ if lit_corr_results else (gene_id, 0) return lit_results |