From 808f2629dc8b1be2cba8af3509e12657c2251a77 Mon Sep 17 00:00:00 2001 From: "Edgar P. Burkhart" Date: Thu, 3 Mar 2022 12:54:56 +0100 Subject: [PATCH] Fixed path --- swash/processing/swash.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swash/processing/swash.py b/swash/processing/swash.py index edad40b..f47a019 100644 --- a/swash/processing/swash.py +++ b/swash/processing/swash.py @@ -40,7 +40,7 @@ with tempfile.TemporaryDirectory(prefix="swash_", dir=".") as tmp_raw: with open(tmpdir.joinpath("sws.log"), "w") as logfile: log.info(f"Runing swash in '{tmpdir}'") - path = pathlib.Path(config.get("swash", "swashrun")) + path = pathlib.Path(config.get("swash", "path")) cmd = (path.joinpath("swashrun"), *mpi, "-input", inp.name) log.info(f"Running {cmd}")