Skip to content

Added a functionality to use nested YAML anchors to add more histograms to a region.

Diego Baron requested to merge dbaronmo/fastframes:dev into main

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
  • region1_extended:
    • variables: &alias2
      • *alias1
      • variable3
  • region_extended_more:
    • variables:
      • *alias2
      • variable4

This will effectively reproduce the following.

Regions:

  • region1:
    • variables:
      • variable1
      • variable2
  • region1_extended:
    • variables:
      • variable1
      • variable2
      • variable3
  • region_extended_more:
    • variables:
      • variable1
      • variable2
      • variable3
      • variable4

Merge request reports