diff options
author | Frederick Muriuki Muriithi | 2021-12-14 13:48:14 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2021-12-14 13:48:14 +0300 |
commit | 6848b3f6d69ba2e032a7edfea513d0a225225827 (patch) | |
tree | 221154bb332cf9cf076116b723149b0b21051ac1 /gn3/db | |
parent | 14f70b34235dbf43d68ad72ea74a2020af890072 (diff) | |
download | genenetwork3-6848b3f6d69ba2e032a7edfea513d0a225225827.tar.gz |
Fix bug: expects int, gets object - Fixed.
Diffstat (limited to 'gn3/db')
-rw-r--r-- | gn3/db/correlations.py | 2 |
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, |