Skip to content

Commit

Permalink
temporarily strip out settings from quickrun output
Browse files Browse the repository at this point in the history
  • Loading branch information
richardjgowers committed Feb 18, 2023
1 parent 0b09743 commit 8108d71
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions openfecli/commands/quickrun.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,11 @@ def quickrun(transformation, directory, output):
else:
estimate = uncertainty = None # for output file

# TODO: remove this ugly hack on next release
# strip out Settings objects in each unit_result inputs dict
for _, dd in out_dict['unit_results'].items():
dd['inputs'].pop('settings')

out_dict = {
'estimate': estimate,
'uncertainty': uncertainty,
Expand Down

0 comments on commit 8108d71

Please sign in to comment.