Skip to content

Commit

Permalink
small modifications
Browse files Browse the repository at this point in the history
  • Loading branch information
LucR31 committed Jul 29, 2024
1 parent 71e0509 commit 36831d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aiida_flexpart/calculations/inversion.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def prepare_for_submission(self, folder):
codeinfo.withmpi = self.inputs.metadata.options.withmpi

with folder.open('inversion_settings.yaml', 'w') as f:
_ = yaml.dump(self.inputs.inv_params.value, f)
_ = yaml.dump(self.inputs.inv_params.get_dict(), f)

# Prepare a `CalcInfo` to be returned to the engine
calcinfo = common.CalcInfo()
Expand Down

0 comments on commit 36831d7

Please sign in to comment.