Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed bad indentation
  • Loading branch information
daminton committed Oct 12, 2022
1 parent b41b133 commit 2560ebd
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions python/swiftest/swiftest/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -823,11 +823,11 @@ def string_converter(da):
-------
da : xarray dataset with the strings cleaned up
"""
if da.dtype == np.dtype(object):
da = da.astype('<U32')
elif da.dtype != np.dtype('<U32'):
da = xstrip(da)
return da
if da.dtype == np.dtype(object):
da = da.astype('<U32')
elif da.dtype != np.dtype('<U32'):
da = xstrip(da)
return da

def clean_string_values(ds):
"""
Expand Down

0 comments on commit 2560ebd

Please sign in to comment.