Skip to content
Snippets Groups Projects
Commit 0ef740a9 authored by Yngve Levinsen's avatar Yngve Levinsen
Browse files

mypy also working for all code now

parent d3ad67c3
No related branches found
No related tags found
No related merge requests found
......@@ -464,9 +464,7 @@ def batch_convert_to_ascii(binary_field_path: str, fieldmap_dim: int):
Header, Field = _read_binary_fieldmap(
os.path.join(binary_field_path, f), fieldmap_dim
)
save_to_ascii(
Header, Field, fieldmap_dim, os.path.join(binary_field_path, "ASCII", f)
)
save_to_ascii(Header, Field, os.path.join(binary_field_path, "ASCII", f))
return
......@@ -553,7 +551,7 @@ def batch_cut_fieldmap(
f, fieldmap_dim, entrance_rows_cut, exit_rows_cut, file_type
)
save_to_ascii(Header, Field, fieldmap_dim, fieldmaps_path + "/ASCII/", f)
save_to_ascii(Header, Field, os.path.join(fieldmaps_path, "ASCII", f))
def uniform_mesh(mesh: list):
......@@ -682,7 +680,6 @@ def create_tw_fieldmap(
save_to_ascii(
Header,
field_array[:, i],
fieldmap_dim,
os.path.join(
fieldmaps_path, filename_wo_ext + "." + extensions[i - fieldmap_dim]
),
......
File moved
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment