Note: The default ITS GitLab runner is a shared resource and is subject to slowdowns during heavy usage.
You can run your own GitLab runner that is dedicated just to your group if you need to avoid processing delays.

Commit 0a875c51 authored by Camilla Dodge Koslowsky Harris's avatar Camilla Dodge Koslowsky Harris
Browse files

made CSV format actually comma seperated, not spaces.

parent 64582d45
...@@ -173,7 +173,7 @@ def _save_csv(filename, geometry_params, new_zone, variables) -> None: ...@@ -173,7 +173,7 @@ def _save_csv(filename, geometry_params, new_zone, variables) -> None:
aux_data = geometry_params.__repr__() + '\n' aux_data = geometry_params.__repr__() + '\n'
column_names = variables[0].name.__repr__() column_names = variables[0].name.__repr__()
for var in variables[1:]: for var in variables[1:]:
column_names += ' ' + var.name.__repr__() column_names += ',' + var.name.__repr__()
tp_data = [] tp_data = []
for var in variables: for var in variables:
tp_data.append(new_zone.values(var)[:]) tp_data.append(new_zone.values(var)[:])
...@@ -181,7 +181,7 @@ def _save_csv(filename, geometry_params, new_zone, variables) -> None: ...@@ -181,7 +181,7 @@ def _save_csv(filename, geometry_params, new_zone, variables) -> None:
np.savetxt( np.savetxt(
filename, filename,
tp_data_np, tp_data_np,
delimiter=' ', delimiter=',',
header=aux_data + column_names, header=aux_data + column_names,
comments='' comments=''
) )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment