flexcore.config.design.load_design_spec¶
- flexcore.config.design.load_design_spec(path) DesignSpec¶
Load a design study from JSON, with
baseinline or as a relative path.- Parameters:
path – The study’s
.jsonfile.- Returns:
The validated spec.
- Raises:
FlexConfigError – If the file or its base spec can’t be read or validated.