Skip to content

Commit 3832c99

Browse files
fixup
1 parent 8108d71 commit 3832c99

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

openfecli/commands/quickrun.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,6 @@ def quickrun(transformation, directory, output):
6464
else:
6565
estimate = uncertainty = None # for output file
6666

67-
# TODO: remove this ugly hack on next release
68-
# strip out Settings objects in each unit_result inputs dict
69-
for _, dd in out_dict['unit_results'].items():
70-
dd['inputs'].pop('settings')
71-
7267
out_dict = {
7368
'estimate': estimate,
7469
'uncertainty': uncertainty,
@@ -78,6 +73,11 @@ def quickrun(transformation, directory, output):
7873
for unit in dagresult.protocol_unit_results
7974
}
8075
}
76+
# TODO: remove this ugly hack on next release
77+
# strip out Settings objects in each unit_result inputs dict
78+
for _, dd in out_dict['unit_results'].items():
79+
if 'inputs' in dd:
80+
dd['inputs'].pop('settings')
8181

8282
if output:
8383
with open(output, mode='w') as outf:

0 commit comments

Comments
 (0)