spino.config_io module¶
config_io: bridge between the GUI widgets and the pipeline configuration.
The pipeline is driven entirely by the module-level globals in
pipeline/phase_config.py. This module:
reads those globals to obtain the default value of every parameter (so the GUI never hard-codes defaults that could drift from the pipeline);
describes each parameter’s group, kind and help text (consumed by the panels and the
HelpButtonpopups);serialises a flat
{GLOBAL_NAME: value}settings dict to / from JSON.
The subprocess entry point runner.py loads that JSON, setattr``s every
key onto ``phase_config and then runs the pipeline, so the set of keys here
must match the global names in phase_config.py exactly.
- spino.config_io.load_defaults()[source]¶
Return a deep copy of every exposed config global’s default value.