From 6e7780b75b34d653002fc9bddc190e3d82c47d4c Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Mon, 3 Jan 2022 14:40:26 +0300 Subject: Surround statement with parens for readability --- gn3/db/partial_correlations.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gn3') 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) -- cgit v1.2.3