Skip to content
Snippets Groups Projects
Unverified Commit 9ade8146 authored by Michiel Cottaar's avatar Michiel Cottaar
Browse files

Make use of dashes consistent

parent 1a7786fc
No related branches found
No related tags found
1 merge request!37Scale jobtime
Pipeline #26760 passed
# Changelog
## [Unreleased]
### Added
- `--scale_jobtime` has been added to the CLI and a new method `JobList.scale_jobtime` has been added. These allow all developer-set job times to be scaled by the user of a pipeline. A uniform scaling is applied to all jobs. This will only affect jobs submitted to the cluster.
- `--scale_jobtime` has been added to the command line and a new method `JobList.scale_jobtime` has been added. These allow all developer-set job times to be scaled by the user of a pipeline. A uniform scaling is applied to all jobs. This will only affect jobs submitted to the cluster.
- `clean_script` keyword added to `JobList.run()`. This allows one to keep the scripts submitted to the cluster even for jobs that succeeded by setting `JobList.run(clean_script="never")`. This feature is not available from the command line by default.
### Fixed
- Setting target file patterns now works as intended.
- `--pipeline_method` is not `--pipeline-method` to make it more consistend with the other command line arguments.
## [v1.1.3]
### Fixed
- Fixed breaking import of console when printing rich output
......
......@@ -127,7 +127,7 @@ class Pipeline:
parser.add_argument("templates", nargs="*", default=default_output,
help=f"Set to one or more template keys or file patterns (e.g., \"*.txt\"). Only these templates/files will be produced. If not provided all templates will be produced ({', '.join(default_output)}).")
parser.add_argument("-m", '--pipeline_method', default=RunMethod.default().name,
parser.add_argument("-m", '--pipeline-method', default=RunMethod.default().name,
choices=[m.name for m in RunMethod],
help=f"method used to run the jobs (default: {RunMethod.default().name})")
parser.add_argument("-o", '--overwrite', action='store_true', help="If set overwrite any requested files.")
......
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