aboutsummaryrefslogtreecommitdiff
path: root/gn3
diff options
context:
space:
mode:
Diffstat (limited to 'gn3')
-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)