JSON#
This expdef plugin can be selected via --expdef=expdef.json. This plugin
supports flattening/nested configuration files.
Important
If multiple matches for a given JSONpath string are found, ALL are modified accordingly.
Experimental inputs are defined using JSON. See the section on JSON in Special Tokens for restrictions on the contents of JSON input files.
Requirements#
__CONTROLLER__- Tag used when as a placeholder for selecting which controller present in an input file (if there are multiple) a user wants to use for a specific Experiment. Can appear in JSON attributes. This makes auto-population of the controller name based on the--controllerargument and the contents ofcontrollers.yaml(see Project YAML Configuration for details) in template input files possible.
Furthermore, while JSON treats keys mapping to subtrees and keys mapping to literal attributes equivalently, SIERRA does not, in order to provide uniformity across the different input file types it can handle. Functionally this means that if you ask SIERRA to update an attribute for a literal/scalar, and that "attribute" actually maps to a sub-tree, you will get an error, even though making a change of that nature is a perfectly valid JSON modification.
Added in version 1.3.19.