diff options
-rwxr-xr-x | astro/oskar/run_oskar.py | 1 | ||||
-rwxr-xr-x | astro/oskar/wsclean.py | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/astro/oskar/run_oskar.py b/astro/oskar/run_oskar.py index e2e8653..66b6ca3 100755 --- a/astro/oskar/run_oskar.py +++ b/astro/oskar/run_oskar.py @@ -64,6 +64,7 @@ def run_oskar(configfile, model, freq, vis_ms, vis_oskar=None, print("-------------------------------------------------------------") print("Simulating %s @ %.2f [MHz] ..." % (model, freq)) cmd = [simulator, configfile] + print("CWD: %s" % os.getcwd()) print("CMD: %s" % " ".join(cmd)) if dryrun: print("Dry run mode -> DONE!") diff --git a/astro/oskar/wsclean.py b/astro/oskar/wsclean.py index a3601e5..9924d3b 100755 --- a/astro/oskar/wsclean.py +++ b/astro/oskar/wsclean.py @@ -44,6 +44,7 @@ def wsclean(args, dryrun=False, logfile=None): cmd = [ "wsclean", "-temp-dir", tmpdir.name, ] + [str(arg) for arg in args] # NOTE: Convert all arguments to strings + printlog("CWD: %s" % os.getcwd()) printlog("CMD: %s" % " ".join(cmd), logfile=logfile) if dryrun: print(">>> DRY RUN MODE <<<") |