aboutsummaryrefslogtreecommitdiff
path: root/gn3/db
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2022-05-05 15:20:30 +0300
committerFrederick Muriuki Muriithi2022-05-05 15:20:30 +0300
commit081bd53222a40a610257c3d67e9186c09da49106 (patch)
tree2530ddbad59ada713ff6d6f5f5d2776e3a0ac015 /gn3/db
parentbe9d1d4aad720274f6d75345123fae8d6a96bc12 (diff)
downloadgenenetwork3-081bd53222a40a610257c3d67e9186c09da49106.tar.gz
Compute partial correlation with selected traits
Compute partial correlations against a selection of traits rather than against an entire dataset.
Diffstat (limited to 'gn3/db')
-rw-r--r--gn3/db/partial_correlations.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gn3/db/partial_correlations.py b/gn3/db/partial_correlations.py
index 72dbf1a..96f953d 100644
--- a/gn3/db/partial_correlations.py
+++ b/gn3/db/partial_correlations.py
@@ -783,7 +783,7 @@ def traits_info(
partial(temp_traits_info, conn),
partial(temp_traits_datasets, conn, threshold))
}
- return tuple(
+ return (
trait for sublist in (# type: ignore[var-annotated]
traits_fns[dataset_type](traits)
for dataset_type, traits