We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4b585e commit 232dc09Copy full SHA for 232dc09
kaleidoscope/operators/derandop.py
@@ -103,9 +103,8 @@ def run(self, source: Dataset) -> Dataset: # noqa: D102
103
dtype=x_unc.dtype,
104
)
105
if "standard_name" in target[v_unc].attrs:
106
- target[v_unc].attrs[
107
- "standard_name"
108
- ] = f"{target[v_unc].attrs["standard_name"]} standard_error"
+ standard_name = target[v_unc].attrs["standard_name"]
+ target[v_unc].attrs["standard_name"] = f"{standard_name} standard_error"
109
return target
110
111
@property
0 commit comments