1
Fork 0

Fixed path

This commit is contained in:
Edgar P. Burkhart 2022-03-03 12:54:56 +01:00
parent 96d51e4a61
commit 808f2629dc
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227

View file

@ -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}")