Added a functionality to use nested YAML anchors to add more histograms to a region.
Added a functionality to use nested YAML anchors to define additional histograms in regions. Avoids config duplication.
This allows the following syntax in the config.yml
Regions:
- region1:
- variables: &alias1
- variable1
- variable2
- variables: &alias1
- region1_extended:
- variables: &alias2
- *alias1
- variable3
- variables: &alias2
- region_extended_more:
- variables:
- *alias2
- variable4
- variables:
This will effectively reproduce the following.
Regions:
- region1:
- variables:
- variable1
- variable2
- variables:
- region1_extended:
- variables:
- variable1
- variable2
- variable3
- variables:
- region_extended_more:
- variables:
- variable1
- variable2
- variable3
- variable4
- variables: