aboutsummaryrefslogtreecommitdiff
path: root/gn3
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2021-12-14 13:48:14 +0300
committerFrederick Muriuki Muriithi2021-12-14 13:48:14 +0300
commit6848b3f6d69ba2e032a7edfea513d0a225225827 (patch)
tree221154bb332cf9cf076116b723149b0b21051ac1 /gn3
parent14f70b34235dbf43d68ad72ea74a2020af890072 (diff)
downloadgenenetwork3-6848b3f6d69ba2e032a7edfea513d0a225225827.tar.gz
Fix bug: expects int, gets object - Fixed.
Diffstat (limited to 'gn3')
-rw-r--r--gn3/db/correlations.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gn3/db/correlations.py b/gn3/db/correlations.py
index 338c0f2..5361a1e 100644
--- a/gn3/db/correlations.py
+++ b/gn3/db/correlations.py
@@ -158,7 +158,7 @@ def fetch_symbol_value_pair_dict(
if data_id_dict.get(symbol) is not None
}
query = "SELECT Id, value FROM TissueProbeSetData WHERE Id IN ({})".format(
- ",".join(f"%(id{i})s" for i in range(data_ids.values())))
+ ",".join(f"%(id{i})s" for i in range(len(data_ids.values()))))
with conn.cursor() as cursor:
cursor.execute(
query,