From c143f40a1f7b12cea1569b393a12388a3898ae4b Mon Sep 17 00:00:00 2001 From: "Jens H. Nielsen" Date: Tue, 3 Mar 2026 15:41:53 +0100 Subject: [PATCH] This is an error message not a log message so it should not use defered formatting --- src/qcodes/dataset/data_set.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qcodes/dataset/data_set.py b/src/qcodes/dataset/data_set.py index 57d65da24b13..14268444230e 100644 --- a/src/qcodes/dataset/data_set.py +++ b/src/qcodes/dataset/data_set.py @@ -1928,7 +1928,7 @@ def _get_datasetprotocol_from_guid( run_id = get_runid_from_guid(conn, guid) if run_id is None: raise NameError( - "No run with GUID: %s found in database: %s", guid, conn.path_to_dbfile + f"No run with GUID: {guid} found in database: {conn.path_to_dbfile}" ) if qcodes.config.dataset.load_from_exported_file: