![]() |
Belle II Software development
|
Public Member Functions | |
| __init__ (self, intervals) | |
| bool | in_interval (self, Script script_object) |
Public Attributes | |
| list | intervals = [x.strip() for x in intervals] |
| stores the intervals which have been selected | |
This can be used to parse the execution intervals of validation scripts and can check whether a script object is in the list of intervals configured in this class.
Definition at line 426 of file validation.py.
| __init__ | ( | self, | |
| intervals ) |
Initializes the IntervalSelector class with a list of intervals which should be selected
Definition at line 433 of file validation.py.
| bool in_interval | ( | self, | |
| Script | script_object ) |
checks whether the interval listed in a script object's header is within the selected
Definition at line 442 of file validation.py.
| list intervals = [x.strip() for x in intervals] |
stores the intervals which have been selected
Definition at line 440 of file validation.py.