Skip to content
Snippets Groups Projects
Commit 52a65063 authored by James Beacham's avatar James Beacham
Browse files

Merge branch '21.0-dq-cosmic-postprocessing' into '21.0'

Protect against failing pixel hancool code

See merge request atlas/athena!15593

Former-commit-id: 042ba683cf91d0614525529bfcb7641cdd55eb29
parents 92e5ee66 1b4f7cf0
No related branches found
No related merge requests found
......@@ -510,7 +510,11 @@ def hancool_defects(runNumber, filePath="./", dbConnection="", db_tag='HEAD', is
globname = fnames[0][0]
filename = os.path.basename(globname)
since, until = getLimits(filename)
defects += pix_defect.execute(runNumber, globname, until-1)
try:
defects += pix_defect.execute(runNumber, globname, until-1)
except Exception, e:
logging.warning('Unable to execute pixel hancool code')
logging.warning('--> %s: %s' % (type(e).__name__, e))
from DQDefects import DefectsDB
ddb = DefectsDB(dbConnection, read_only=False)
......
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