Conversation
| help="Resubmit jobs, 1 resubmit finished jobs with errors, 2 resubmit running jobs", | ||
| required=False, | ||
| default="0", | ||
| default="0", # default 0 ?? Why not "1" as default? |
There was a problem hiding this comment.
I guess "0" is the default because you do not want to resubmit jobs if they crashed because of errors in the configuration. We can then just check what caused the jobs to crash, and if there are errors, we fix them. Otherwise, we resubmit.
There was a problem hiding this comment.
my question is: if I run "--resubmit" it means that I want to resubmit ... otherwise I run the command "--check".
Actually, the "resubmit 0" does nothing in the code ...
There was a problem hiding this comment.
Ah right, I just got confused. I was thinking at 'operation' mode rather than 'resubmit'. We can change it to 1, then.
|
Thank you @amassiro. I suggest we merge the PR at this point. Further developments will go in a separate PR. |
Changes:
Do not merge this yet, ... more to come ...