aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2022-01-03 14:40:26 +0300
committerFrederick Muriuki Muriithi2022-01-10 08:30:57 +0300
commit6e7780b75b34d653002fc9bddc190e3d82c47d4c (patch)
tree3811944f08408ec04fc3715ab1ef874cf83cbc33
parent5c1f0a36c98b48e0f9a3637ad6cae521524887e2 (diff)
downloadgenenetwork3-6e7780b75b34d653002fc9bddc190e3d82c47d4c.tar.gz
Surround statement with parens for readability
-rw-r--r--gn3/db/partial_correlations.py5
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)