Note
This page is a reference documentation. It only explains the function signature, and not how to use it. Please refer to the user guide for the big picture.
hopla.cli.main¶
- hopla.cli.main()[source]¶
Command-line interface for automated job execution with hopla.
This function loads a TOML configuration file, initializes a hopla executor, and submits jobs either individually or in chunks depending on the configuration. It then runs the executor with a specified maximum number of jobs and writes a report to disk.
- Raises:
- ValueError
If ‘data.tsv’ is missing.
Notes
The multi section should define n_splits to control chunking.
The Config context manager is used to apply configuration settings during execution.
Examples
>>> hoplactl --config experiment.toml --njobs 5