stilt.execution.job_script#
- stilt.execution.job_script(project, execution, folder, n_tasks, *, skip_existing=True, compute_root=None)[source]#
Return the
sbatchscript of a job array whose tasks each run a share of the receptors.Task
irunsstilt run <project> --receptors <folder>/receptors.parquet --task i/n_tasks --execution <folder>/execution.yamlwith the Python that called this. The#SBATCHlines come from execution: its resources,--requeue,--signal=B:USR1@120(seerun()), and itsslurmoptions, which can replace any of them. Itssetupcommands run before the task.