phenotypic.sdk_.slurm.effective_sbatch_option#
- phenotypic.sdk_.slurm.effective_sbatch_option(slurm_args: dict[str, Any], option: str) str | None[source]#
The value
sbatchwill use for--<option>from slurm_args.Read back from
format_sbatch_directives(), the one formatter, so every spelling it accepts counts (partitionandslurm_partitionboth render--partition), and the LAST directive wins, assbatchapplies#SBATCHlines in order. A check that reads one dict key instead misses the GUI’spartition=spelling, and with both spellings present asks about the partition the job will not run in (spec 2026-09-24-cli-preflight, Phase E review E3).