Skip to content
Snippets Groups Projects
Commit 06559422 authored by Sam Kagan's avatar Sam Kagan
Browse files

Fixed vela for restores

Specifically:
* Renamed vela log and weblog to match CASA's
* Didn't write out *calapply.txt for restores
parent e9bda4ea
No related branches found
No related tags found
No related merge requests found
......@@ -39,7 +39,7 @@ class VelaLog:
# forging three files. 2 for pipeline completion, 1 log file
# vela-pipeline.sh.out.txt
# vela-pipeline.sh.err.txt
# vela-<date_as_string>-<timestring>.log
# casa-<date_as_string>-<timestring>.log
workflow_name = parameters["workflowName"]
should_fail = parameters["fail"]
......@@ -71,7 +71,7 @@ class VelaLog:
datestring = arrow.now().format("YYYYMMDD")
timestring = arrow.utcnow().format("hhmmss")
log = open(f"vela-{datestring}-{timestring}.log", "w")
log = open(f"casa-{datestring}-{timestring}.log", "w")
log.write(forged_content(self.product_type, should_fail))
log.close()
......@@ -194,7 +194,7 @@ class VelaProduct:
datestring = arrow.now().format("YYYYMMDD")
timestring = arrow.utcnow().format("hhmmss")
dirname = f"pipeline-{datestring}-{timestring}"
dirname = f"pipeline-{datestring}T{timestring}"
os.mkdir(dirname)
os.chdir(path + "/" + dirname)
os.mkdir("html")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment