Skip to content

Commit e996e47

Browse files
committed
pipeline_runner: Fix script creation
following a recent change in class data layout introduced here: ec4acee
1 parent 598afb3 commit e996e47

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

MC/bin/o2_dpg_workflow_runner.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1488,8 +1488,8 @@ def produce_script(self, filename):
14881488
# we record the global environment setting
14891489
# in particular to capture global workflow initialization
14901490
lines.append('#-- GLOBAL INIT SECTION FROM WORKFLOW --\n')
1491-
for e in self.globalenv:
1492-
lines.append('export ' + str(e) + '=' + str(self.globalenv[e]) + '\n')
1491+
for e in self.globalinit['env']:
1492+
lines.append('export ' + str(e) + '=' + str(self.globalinit['env'][e]) + '\n')
14931493
lines.append('#-- TASKS FROM WORKFLOW --\n')
14941494
for tid in taskorder:
14951495
print ('Doing task ' + self.idtotask[tid])

0 commit comments

Comments
 (0)