aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2022-01-03 14:38:52 +0300
committerFrederick Muriuki Muriithi2022-01-10 08:28:33 +0300
commit5c1f0a36c98b48e0f9a3637ad6cae521524887e2 (patch)
tree56da0c26af635d0f8cb3ba80b331f8690bb993d6
parentaca81429debef16db1ad3cca9d534fca394f1a26 (diff)
downloadgenenetwork3-5c1f0a36c98b48e0f9a3637ad6cae521524887e2.tar.gz
Indicate that string is an f-string
* The string had the f-string syntax to format the values to be inserted into the string, but was missing the 'f' before the opening quotes to signify to python that this was an f-string. This commit fixes that.
-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 a298ff7..70b6945 100644
--- a/gn3/computations/partial_correlations.py
+++ b/gn3/computations/partial_correlations.py
@@ -758,7 +758,7 @@ def partial_correlations_entry(# pylint: disable=[R0913, R0914, R0911]
all_correlations,
key=__make_sorter__(method))[:min(criteria, len(all_correlations))]
traits_list_corr_info = {
- "{target_dataset['dataset_name']}::{item[0]}": {
+ f"{target_dataset['dataset_name']}::{item[0]}": {
"noverlap": item[1],
"partial_corr": item[2],
"partial_corr_p_value": item[3],