Skip to content
Snippets Groups Projects

Fix IDPVM to run on data samples

Merged Louis-Guillaume Gagnon requested to merge lgagnon/athena:idpvm-data-fix into master

Very simple typo fix that adds a missing comma such that TruthPileupEvents is set to the empty string instead of None when running on data. Otherwise the following error pops up:

Traceback (most recent call last):
  File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/master_Athena_x86_64-centos7-gcc11-opt/2022-06-06T2101/Athena/23.0.0/InstallArea/x86_64-centos7-gcc11-opt/share/runIDPVM.py", line 65, in <module>
    acc.merge(InDetPhysValMonitoringCfg(ConfigFlags))
  File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/master_Athena_x86_64-centos7-gcc11-opt/2022-06-06T2101/Athena/23.0.0/InstallArea/x86_64-centos7-gcc11-opt/python/InDetPhysValMonitoring/InDetPhysValMonitoringConfig.py", line 318, in InDetPhysValMonitoringCfg
    monMan.AthenaMonTools += [ acc.popToolsAndMerge(creator(flags)) ]
  File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/master_Athena_x86_64-centos7-gcc11-opt/2022-06-06T2101/Athena/23.0.0/InstallArea/x86_64-centos7-gcc11-opt/python/InDetPhysValMonitoring/InDetPhysValMonitoringConfig.py", line 152, in InDetPhysValMonitoringToolCfg
    tool = CompFactory.InDetPhysValMonitoringTool(**kwargs)
  File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/master_Athena_x86_64-centos7-gcc11-opt/2022-06-06T2101/AthenaExternals/23.0.0/InstallArea/x86_64-centos7-gcc11-opt/python/GaudiConfig2/_configurables.py", line 167, in __init__
    setattr(self, key, value)
  File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/master_Athena_x86_64-centos7-gcc11-opt/2022-06-06T2101/AthenaExternals/23.0.0/InstallArea/x86_64-centos7-gcc11-opt/python/GaudiConfig2/_configurables.py", line 61, in __set__
    instance._properties[self.name] = self.semantics.store(value)
  File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/master_Athena_x86_64-centos7-gcc11-opt/2022-06-06T2101/Athena/23.0.0/InstallArea/x86_64-centos7-gcc11-opt/python/AthenaConfiguration/AtlasSemantics.py", line 70, in store
    raise TypeError(f"cannot assign {value!r} ({type(value)}) to {self.name}"
TypeError: cannot assign None (<class 'NoneType'>) to TruthPileupEvents, expected string or DataHandle

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading