Draft: Allow enabling and disabling lines from sequences
This allows two arguments to be passed to setup_hlt1_node
from a sequence, enabled_lines
and disabled_lines
which are each a list of strings (line names or regexes). enabled_lines
defaults to [r'.*?']
so that if it is not changed all lines already in the sequence will be kept. If it is replaced, that list will be used instead. For example, running with enabled_lines=["Hlt1DisplacedDielectron"]
will cause only Hlt1DisplacedDielectron
to run. disabled_lines
defaults to []
so that if it is not set no lines will be removed. If it is changed, that line will not run. So for example, if enabled_lines=["Hlt1DisplacedDielectron","Hlt1KsToPiPi"]
and disabled_lines=["Hlt1KsToPiPi"]
then only Hlt1DisplacedDielectron
will run.
Draft until test is added. cc: @raaij