Skip to content

Commit

Permalink
Actions: Use py.list to convert d3d.get_all_time np array to list
Browse files Browse the repository at this point in the history
  • Loading branch information
simmsa committed Dec 4, 2024
1 parent b64ac67 commit 50b9fbd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mhkit/river/IO/delft_3d/delft_3d_get_all_time.m
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
'Invalid input Delft3D data type: `delft_3d_get_all_time` expects a `py.netCDF4._netCDF4.Dataset` object. Please use the `delft_3d_open_netcdf` function to convert Delft3D netCDF files for use with this function.');
end

python_result = py.mhkit.river.io.d3d.get_all_time(delft_3d_py_object);
python_result = py.mhkit.river.io.d3d.get_all_time(delft_3d_py_object);

python_result = python_result.to_list();
python_result = py.list(python_result);

disp(python_result);
disp(class(python_result));
Expand Down

0 comments on commit 50b9fbd

Please sign in to comment.