diff options
author | Frederick Muriuki Muriithi | 2022-01-03 14:40:26 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2022-01-10 08:30:57 +0300 |
commit | 6e7780b75b34d653002fc9bddc190e3d82c47d4c (patch) | |
tree | 3811944f08408ec04fc3715ab1ef874cf83cbc33 /gn3 | |
parent | 5c1f0a36c98b48e0f9a3637ad6cae521524887e2 (diff) | |
download | genenetwork3-6e7780b75b34d653002fc9bddc190e3d82c47d4c.tar.gz |
Surround statement with parens for readability
Diffstat (limited to 'gn3')
-rw-r--r-- | gn3/db/partial_correlations.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gn3/db/partial_correlations.py b/gn3/db/partial_correlations.py index e2272be..0befb34 100644 --- a/gn3/db/partial_correlations.py +++ b/gn3/db/partial_correlations.py @@ -314,8 +314,9 @@ def publish_traits_info( with conn.cursor(cursorclass=DictCursor) as cursor: cursor.execute( query, - tuple(trait["trait_name"] for trait in traits) + - tuple(trait_dataset_ids)) + ( + tuple(trait["trait_name"] for trait in traits) + + tuple(trait_dataset_ids))) return merge_traits_and_info(traits, cursor.fetchall()) return tuple({**trait, "haveinfo": False} for trait in traits) |