flexcore.config.design.load_design_spec

flexcore.config.design.load_design_spec(path) → DesignSpec

Load a design study from JSON, with base inline or as a relative path.

Parameters:

path – The study’s .json file.

Returns:

The validated spec.

Raises:

FlexConfigError – If the file or its base spec can’t be read or validated.