aboutsummaryrefslogtreecommitdiffstats
path: root/astro/oskar/run_oskar.py
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2018-02-06 16:38:28 +0800
committerAaron LI <aly@aaronly.me>2018-02-06 16:38:28 +0800
commit771c9e9d0cb66cc6253048b5abee45a846d0c25c (patch)
tree6d90f5f242f8d222af229238107a62c9cc81e83e /astro/oskar/run_oskar.py
parentc87ade2c954e4f01c5f1c06d1b39d4dab0bb11a9 (diff)
downloadatoolbox-771c9e9d0cb66cc6253048b5abee45a846d0c25c.tar.bz2
Also print current working directory (CWD
Diffstat (limited to 'astro/oskar/run_oskar.py')
-rwxr-xr-xastro/oskar/run_oskar.py1
1 files changed, 1 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!")