Skip to content

Commit

Permalink
fix f-string missing from warning string
Browse files Browse the repository at this point in the history
  • Loading branch information
jpdehollain authored and jenshnielsen committed Jul 25, 2024
1 parent ec7bad5 commit 69192f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qcodes/dataset/data_set_in_memory.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}")
Expand Down

0 comments on commit 69192f9

Please sign in to comment.