nabu.stitching.slurm_utils module¶
- nabu.stitching.slurm_utils.split_stitching_configuration_to_slurm_job(configuration: StitchingConfiguration, yield_configuration: bool = False)[source]¶
generator to split a StitchingConfiguration into several SBatchScriptJob.
- This will handle:
division into several jobs according to slices and n_job
creation of SBatchScriptJob handling slurm configuration and command to be launched
- Parameters:
configuration (StitchingConfiguration) – configuration of the stitching to launch (into several jobs)
yield_configuration (bool) – if True then yield (SBatchScriptJob, StitchingConfiguration) else yield only SBatchScriptJob