phenotypic.sdk_.slurm.submit_drip_feed_start#

phenotypic.sdk_.slurm.submit_drip_feed_start(chunk_scripts: List[Path], dispatcher_scripts: List[Path]) Tuple[List[str], str | None][source]#

Submit the first chunk and first dispatcher to start a drip-feed chain.

Parameters:
Returns:

Tuple of (job_ids, warning_message). job_ids contains the submitted job IDs (1 or 2). warning_message is None on success, or a string with recovery instructions if the dispatcher submission failed (chunk 0 was still submitted).

Raises:

RuntimeError – If the first chunk submission fails.

Return type:

Tuple[List[str], str | None]