The proposed changes in this PR allow the code to run when the output directory already exists. For this, the config entry RUN_DATETIME needs to be set to False.
Module runners can then check whether the output file to create already exists and skip computation.
As first cases this is done for mccd and ngmix.
In addition, regular expressions are allowed for the tile number IDs. This allows for a run of targeted input/output files instead of using all inputs.
This can be useful when a run is interrupted, in which case a re-run of the same module(s) will only be carried out for the still missing output files.
Some issues should be solved before merging, e.g. the log files will be overwritten.
Other changes:
Some minor bug fixes are implemented.
The job script allows to set the number of SMP cores as command line argument.
Reviewer Checklist
Reviewers should tick the following boxes before approving and merging the PR.
[ ] The PR targets the develop branch
[ ] The PR is assigned to the developer
[ ] The PR has appropriate labels
[ ] The PR is included in appropriate projects and/or milestones
[ ] The PR includes a clear description of the proposed changes
[ ] If the PR addresses an open issue the description includes "closes #"
[ ] The code and documentation style match the current standards
[ ] Documentation has been added/updated consistently with the code
[ ] All CI tests are passing
[ ] API docs have been built and checked at least once (if relevant)
[ ] All changed files have been checked and comments provided to the developer
[ ] All of the reviewer's comments have been satisfactorily addressed by the developer
Summary
Main updates
The proposed changes in this PR allow the code to run when the output directory already exists. For this, the config entry
RUN_DATETIME
needs to be set toFalse
.Module runners can then check whether the output file to create already exists and skip computation. As first cases this is done for mccd and ngmix.
In addition, regular expressions are allowed for the tile number IDs. This allows for a run of targeted input/output files instead of using all inputs.
This can be useful when a run is interrupted, in which case a re-run of the same module(s) will only be carried out for the still missing output files. Some issues should be solved before merging, e.g. the log files will be overwritten.
Other changes:
Reviewer Checklist
develop
branch