Skip to content

Commit

Permalink
Minor style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
olemke committed Nov 14, 2024
1 parent 4d3dfbe commit c82de5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion typhon/utils/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ def undo_xarray_floatification(ds, fields=None):

to_correct = {k for (k, v) in ds.data_vars.items()
if v.encoding.get("dtype", np.dtype("O")).kind[0] in "ui" and
not v.dtype.kind in "uiMm"} # don't convert datetime/deltas
v.dtype.kind not in "uiMm"} # don't convert datetime/deltas

if fields is not None:
to_correct &= fields
Expand Down

0 comments on commit c82de5b

Please sign in to comment.