diff --git a/python/swiftest/swiftest/io.py b/python/swiftest/swiftest/io.py index 138943e6d..644c155a4 100644 --- a/python/swiftest/swiftest/io.py +++ b/python/swiftest/swiftest/io.py @@ -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('