pyphi.campaign.runner#
Execute one campaign task file and write its output document.
The runner is a fixed entry point (python -m pyphi.campaign run) that
behaves identically inside the campaign’s container, in a local shell, and
under test: it loads the task, loads the substrates it references, installs
the shipped configuration beneath the task’s formalism preset, runs the
task’s items in order, and atomically writes one output document holding a
per-item outcome. The process exit code is nonzero when any item errored,
so scheduler logs reflect failures, but the output document is written in
every case.
Functions
|
Build one partition-stride cell's payloads, one entry per pin. |
|
Run one task file; return 0 if every item is ok or skipped, else 1. |
|
Build one SIA stride's cell payloads. |