Skip to content

Commit ce23f87

Browse files
committed
Topology parser: never use O2_NO_CATCHALL_EXCEPTIONS during topology generation
1 parent 314daf5 commit ce23f87

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

DATA/tools/parse

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ if 'WORKFLOWMODE' in os.environ:
4444
else:
4545
os.environ['WORKFLOWMODE'] = 'dds'
4646

47+
if 'O2_NO_CATCHALL_EXCEPTIONS' in os.environ:
48+
os.unsetenv("O2_NO_CATCHALL_EXCEPTIONS")
49+
4750
if 'RECO_NUM_NODES_OVERRIDE' in os.environ and os.environ['RECO_NUM_NODES_OVERRIDE'] != '' and int(os.environ['RECO_NUM_NODES_OVERRIDE']) > 0:
4851
reco_num_nodes_override = int(os.environ['RECO_NUM_NODES_OVERRIDE'])
4952
os.environ['RECO_NUM_NODES_WORKFLOW'] = str(reco_num_nodes_override)
@@ -137,7 +140,6 @@ for line in f:
137140
command += ' > ' + filename
138141
print('Running DPL command', command)
139142
retVal = subprocess.run(command, shell=True)
140-
print('Returned with ', retVal.returncode)
141143
if retVal.returncode != 0:
142144
print('Error (' + str(retVal) + ') running command', command)
143145
ftmp = open(filename, 'r')

0 commit comments

Comments
 (0)