bloc.stone_parser#

STONE YAML utilities for Bloc — thin shim around BlocRunner.

Previously backed by CanteraConverter (removed in Boulder 0.5.0); now delegates to BlocRunner so the public API is preserved while the implementation uses the same pipeline as everything else.

Functions#

load_config_boulder(yaml_path)

Load and normalise a STONE config using Bloc's runner.

build_network_from_yaml(yaml_path)

Build a network and results from a STONE YAML file.

Module Contents#

bloc.stone_parser.load_config_boulder(yaml_path)#

Load and normalise a STONE config using Bloc’s runner.

Returns a Boulder-normalised config dict (including Bloc-specific deprecated-key validation).

bloc.stone_parser.build_network_from_yaml(yaml_path)#

Build a network and results from a STONE YAML file.

Returns (network, results) where network is the raw visualization ReactorNet produced by build() (before solve() is called and upgrades it to the StagedReactorNet facade).

Callers that need the typed staged network facade should use build_simulation_from_yaml() instead and access sim.network (a StagedReactorNet). If a raw ReactorNet is needed downstream, use sim.network.visualization_network.