From 5c1f0a36c98b48e0f9a3637ad6cae521524887e2 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Mon, 3 Jan 2022 14:38:52 +0300 Subject: 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. --- gn3/computations/partial_correlations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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], -- cgit v1.2.3