1
Fork 0

Reformat in read_mat

This commit is contained in:
Edgar P. Burkhart 2022-04-08 11:11:54 +02:00
parent 65c8ac67cd
commit c08933a472
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227
2 changed files with 4 additions and 4 deletions

View file

@ -11,5 +11,5 @@ mpi=8
inp=inp_post/real_spec_interp_nb
#compare=
out=out_post/real_spec_interp_nb
x0=-1250
x0=-250
t0=180

View file

@ -72,9 +72,9 @@ class ReadSwash:
[
raw[i0][0]
for i0 in np.char.add(
np.char.replace(f"{var_name}[]_", "[]", np.arange(*ra).astype("U1"))[
None, :
],
np.char.replace(
f"{var_name}[]_", "[]", np.arange(*ra).astype("U1")
)[None, :],
self._i[:, None],
).reshape(-1)
],