Skip to content

Commit d2a32b7

Browse files
author
Norraphat
committed
rebase and update warning
1 parent 1d47081 commit d2a32b7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Configuration/Applications/python/ConfigBuilder.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -817,8 +817,8 @@ def addStandardSequences(self):
817817
try:
818818
if len(self.stepMap):
819819
self.loadAndRemember(self.GeometryCFF)
820-
if (self.GeometryCFF == 'Configuration/StandardSequences/GeometryRecoDB_cff'):
821-
print("Warning: Default GeometryRecoDB_cff is used. It may not work with your process.")
820+
if (self.GeometryCFF == 'Configuration/StandardSequences/GeometryRecoDB_cff' and not self.geometryDBLabel):
821+
print("Warning: The default GeometryRecoDB_cff is being used; however, the DB geometry is not applied. You may need to verify your cmsDriver.")
822822
if ('SIM' in self.stepMap or 'reSIM' in self.stepMap) and not self._options.fast:
823823
self.loadAndRemember(self.SimGeometryCFF)
824824
if self.geometryDBLabel:

0 commit comments

Comments
 (0)