Skip to content
Snippets Groups Projects
Commit 6d6d007f authored by Eduardo Rodrigues's avatar Eduardo Rodrigues
Browse files

Merge branch 'olupton_fix_davinci_upgrade' into 'master'

Fix python error when using the DaVinci configurable with the Upgrade DataType

See merge request !195
parents 4cc244eb 67f2a6a0
No related branches found
No related tags found
2 merge requests!1103Draft: Add AnalysisHelpers to DaVinci Stack,!195Fix python error when using the DaVinci configurable with the Upgrade DataType
......@@ -596,7 +596,7 @@ class DaVinci(LHCbConfigurableUser) :
log.info ('Define CondDB( Upgrade = True ) ')
_db.Upgrade = True
if not self.isPropertySet('Detectors') or not self.getProp('Detectors') :
upgrade_only_dets = [ d for d in __known_upgrade_detectors__ if d not in __known_default_detectors]
upgrade_only_dets = [ d for d in self.__known_upgrade_detectors__ if d not in self.__known_default_detectors]
log.warning("It is suspicious that the list of ``Detectors'' is not specified though ``DataType=Upgrade'' ...")
log.warning("Sure that none of the upgrade-only detectors %s are to be specified via ``Detectors''?" % upgrade_only_dets )
from Configurables import SimConf
......
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