Skip to content

Commit

Permalink
recover png files in postprocessing (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
LucR31 authored Apr 29, 2024
1 parent f0f12c0 commit 79d00cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aiida_flexpart/calculations/flexpart_post.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def define(cls, spec):
def prepare_for_submission(self, folder):

params = ['-m',self.inputs.input_dir.get_remote_path(),
'-r','./'
'-r','./','-p'
]
if 'input_offline_dir' in self.inputs:
params += ['-n',self.inputs.input_offline_dir.get_remote_path()]
Expand All @@ -50,6 +50,6 @@ def prepare_for_submission(self, folder):
# Prepare a `CalcInfo` to be returned to the engine
calcinfo = common.CalcInfo()
calcinfo.codes_info = [codeinfo]
calcinfo.retrieve_list = ['grid_time_*.nc', 'boundary_sensitivity_*.nc', 'aiida.out']
calcinfo.retrieve_list = ['grid_time_*.nc', 'boundary_sensitivity_*.nc','*.png', 'aiida.out']

return calcinfo

0 comments on commit 79d00cf

Please sign in to comment.