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

Commit

Permalink
Completed clean_string_values function.
Browse files Browse the repository at this point in the history
  • Loading branch information
daminton committed Aug 27, 2021
1 parent 31d87fe commit defb93e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions python/swiftest/swiftest/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -721,11 +721,10 @@ def clean_string_values(param, ds):
Returns
-------
dscleanstring : xarray dataset with the strings cleaned up
ds : xarray dataset with the strings cleaned up
"""

dscleanstring = ds
return dscleanstring
ds['name'] = ds['name'].str.decode(encoding='utf-8')
return ds


def swiftest_particle_stream(f):
Expand Down

0 comments on commit defb93e

Please sign in to comment.