httomo.cli_utils.is_sweep_pipeline#
- httomo.cli_utils.is_sweep_pipeline(pipeline: Path | str) bool [source]#
Determine if the given pipeline contains a parameter sweep.
- Parameters:
pipeline – Either a path to a YAML pipeline file, a JSON string, or a Python object representing the pipeline configuration.
- Returns:
True if the pipeline contains a parameter sweep, False otherwise.
- Return type:
bool