From 79d00cf6910cba340d03d1eff79b23dfb06a509c Mon Sep 17 00:00:00 2001 From: LucR31 <94859181+LucR31@users.noreply.github.com> Date: Mon, 29 Apr 2024 11:07:24 +0200 Subject: [PATCH] recover png files in postprocessing (#27) --- aiida_flexpart/calculations/flexpart_post.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aiida_flexpart/calculations/flexpart_post.py b/aiida_flexpart/calculations/flexpart_post.py index 20425e0..9e980bf 100644 --- a/aiida_flexpart/calculations/flexpart_post.py +++ b/aiida_flexpart/calculations/flexpart_post.py @@ -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()] @@ -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