Skip to content

Migrated checks on the data type/campaign/data year of a given sample to safer helper functions

Jeremy Wilkinson requested to merge jjwilkin-fix-trigger-sf-on-data into main

As implemented before this change, the TriggerAnalysisBlock could crash if one does not provide a mc campaign to the ConfigAccumulator, even when running in data as invalid checks were being performed comparing FlagEnum instances to None objects. New helper functions have been introduced which perform these checks safely.

Edited by Jeremy Wilkinson

Merge request reports