Processing reformat

This commit is contained in:
Edgar P. Burkhart 2022-03-09 15:23:51 +01:00
parent f4ccdb009a
commit f7e64c0a2d
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227
3 changed files with 4 additions and 6 deletions

View file

@ -34,9 +34,7 @@ with tempfile.TemporaryDirectory(prefix="swash_", dir=".") as tmp_raw:
path = pathlib.Path(config.get("data", "out_nb"))
else:
path = pathlib.Path(config.get("data", "out"))
shutil.copytree(
path, tmpdir, dirs_exist_ok=True
)
shutil.copytree(path, tmpdir, dirs_exist_ok=True)
if config.has_option("swash", "mpi"):
mpi = ("-mpi", config.get("swash", "mpi"))