From e4ee9fe5c3d10aea9465e5522f1a9e5a9d1f45fe Mon Sep 17 00:00:00 2001 From: Danila Date: Mon, 13 Jan 2025 14:22:14 -0800 Subject: [PATCH] Fix quotes in f-strings --- src/muon/_core/tools.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/muon/_core/tools.py b/src/muon/_core/tools.py index 40da4b7..0ff0edf 100644 --- a/src/muon/_core/tools.py +++ b/src/muon/_core/tools.py @@ -258,8 +258,10 @@ def _set_mofa_data_from_mudata( # If everything successful, print verbose message for m in range(M): for g in range(G): + view_name = model.data_opts["views_names"][m] + group_name = model.data_opts["groups_names"][g] print( - f"Loaded view='{model.data_opts["views_names"][m]}' group='{model.data_opts["groups_names"][g]}' with N={str(n_grouped[g])} samples and D={str(D[m])} features..." + f"Loaded view='{view_name}' group='{group_name}' with N={str(n_grouped[g])} samples and D={str(D[m])} features..." ) print("\n")