You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any drawback to using the following code in slurm-submit.py
this way I can directly set the log file and folder based on the rule's log directive?
is there a reason why this is not the default way?
if "output" not in sbatch_options and "log" not in job_properties and CookieCutter.get_cluster_logpath():
outlog = joblog.outlog
log = outlog
sbatch_options["output"] = outlog
elif "log" in job_properties:
sbatch_options["output"]=job_properties["log"][0]
if "error" not in sbatch_options and "log" not in job_properties and CookieCutter.get_cluster_logpath():
errlog = joblog.errlog
log = errlog
sbatch_options["error"] = errlog
The text was updated successfully, but these errors were encountered:
Is there any drawback to using the following code in
slurm-submit.py
this way I can directly set the log file and folder based on the rule's log directive?
is there a reason why this is not the default way?
The text was updated successfully, but these errors were encountered: