aboutsummaryrefslogtreecommitdiff
path: root/gn3/computations
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2022-02-21 17:55:08 +0300
committerFrederick Muriuki Muriithi2022-02-21 17:55:08 +0300
commit393700a432e25336c5afd1f008152202853f5bc2 (patch)
tree745e946f9441d33cfb4461e0dfc62c82baa40cc9 /gn3/computations
parenta35fce27875d9db80dce1976b6f8ee8c00ecfe0a (diff)
downloadgenenetwork3-393700a432e25336c5afd1f008152202853f5bc2.tar.gz
Fix minor issues introduced while fixing linting errors
Diffstat (limited to 'gn3/computations')
-rw-r--r--gn3/computations/partial_correlations.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gn3/computations/partial_correlations.py b/gn3/computations/partial_correlations.py
index f7ddfd0..7110cc5 100644
--- a/gn3/computations/partial_correlations.py
+++ b/gn3/computations/partial_correlations.py
@@ -141,7 +141,7 @@ def find_identical_traits(
return acc + ident[1]
def __dictify_controls__(acc, control_item):
- ckey = tuple("{item:.3f}" for item in control_item[0])
+ ckey = tuple(f"{item:.3f}" for item in control_item[0])
return {**acc, ckey: acc.get(ckey, tuple()) + (control_item[1],)}
return (reduce(## for identical control traits