Skip to content
Snippets Groups Projects
Commit c14d3a1b authored by Tadej Novak's avatar Tadej Novak Committed by Melissa Yexley
Browse files

Fix PtEtaSelectionBlock naming

parent c9041a4c
No related branches found
No related tags found
No related merge requests found
...@@ -218,9 +218,9 @@ class PtEtaSelectionBlock (ConfigBlock): ...@@ -218,9 +218,9 @@ class PtEtaSelectionBlock (ConfigBlock):
def __init__ (self, containerName, selectionName) : def __init__ (self, containerName, selectionName) :
groupName = containerName groupName = containerName
if selectionName != '' : if selectionName:
groupName += '.' + selectionName groupName += f'.{selectionName}'
super (PtEtaSelectionBlock, self).__init__ (groupName) super (PtEtaSelectionBlock, self).__init__ (f'PtEtaSelection.{groupName}')
self.containerName = containerName self.containerName = containerName
self.selectionName = selectionName self.selectionName = selectionName
self.addOption ('postfix', '', type=str) self.addOption ('postfix', '', type=str)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment