phenotypic.sdk_.slurm.sbatch_submission_environment#
- phenotypic.sdk_.slurm.sbatch_submission_environment(environment: Mapping[str, str] | None = None) dict[str, str][source]#
Snapshot the caller’s Python path under a SLURM-safe variable.
Some clusters explicitly filter
PYTHONPATHeven whensbatchuses--export=ALL. PhenoTypic batch scripts restore this namespaced copy before invoking Python.