Skip to content

Commit 4993d0e

Browse files
committed
Forgot f-string in warn message of netcdf_monitor
1 parent d78a527 commit 4993d0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ndsl/monitor/netcdf_monitor.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def __init__(
136136
self._transfer_type = precision
137137
if self._transfer_type == np.float32 and get_precision() > 32:
138138
warn(
139-
"NetCDF save: requested 32-bit float but precision of NDSL is {get_precision()}, cast will occur with possible loss of precision"
139+
f"NetCDF save: requested 32-bit float but precision of NDSL is {get_precision()}, cast will occur with possible loss of precision"
140140
)
141141

142142
@property

0 commit comments

Comments
 (0)