From 69192f9aeaaf03c01a40c49bb544debf1c8fae51 Mon Sep 17 00:00:00 2001 From: JP Dehollain Date: Wed, 17 Jul 2024 14:25:49 +1000 Subject: [PATCH] fix f-string missing from warning string --- src/qcodes/dataset/data_set_in_memory.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qcodes/dataset/data_set_in_memory.py b/src/qcodes/dataset/data_set_in_memory.py index ea5e04d9057..0c7be54ea95 100644 --- a/src/qcodes/dataset/data_set_in_memory.py +++ b/src/qcodes/dataset/data_set_in_memory.py @@ -349,7 +349,7 @@ def _set_cache_from_netcdf(cls, ds: DataSetInMem, xr_path: Path | None) -> bool: elif xr_path is not None and not xr_path.is_file(): success = False warnings.warn( - "Could not load raw data for dataset with guid : {ds.guid} from location {xr_path}" + f"Could not load raw data for dataset with guid : {ds.guid} from location {xr_path}" ) else: warnings.warn(f"No raw data stored for dataset with guid : {ds.guid}")