Decorates a configSequence or function with 'seq' as a
arguement.
Sets groupName to the name of the decorated funtion or
calss plus and integer for each ConfigBlock in the configSequence.
Blocks with the same groupName can be configured together.
Definition at line 10 of file ConfigSequence.py.
12 Decorates a configSequence or function with 'seq' as a
15 Sets groupName to the name of the decorated funtion or
16 calss plus and integer for each ConfigBlock in the configSequence.
18 Blocks with the same groupName can be configured together.
21 def wrapper(**kwargs):
23 groupName = f
"{func.__name__}_{randrange(10**8):08}"
24 for block
in kwargs[
'seq']:
25 block.setOptionValue(
'groupName', groupName)