Commit 664e6661 authored by Fabrice Allain's avatar Fabrice Allain
Browse files

Update host command for slurm log file (logger revision)

parent c51fa8eb
......@@ -900,12 +900,12 @@ class AriaEcXMLConverter(AriaXMLConverter):
aria_project_dict['temp_root'] = temp_dir
if "-o" in aria_project_dict['host_command']:
LOG.info("Update host command for log file path")
LOG.debug("Update host command for log file path")
aria_project_dict['host_command'] = re.sub(
"-o [/\w.]+", "-o %s/slurm.errors" % temp_dir,
aria_project_dict['host_command'])
else:
LOG.info("Adding log file path to host command")
LOG.debug("Adding log file path to host command")
aria_project_dict['host_command'] += " -o %s/slurm.errors" % temp_dir
project = {'project_name': self.outprefix,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment