diff --git a/aiida_flexpart/calculations/new_plugin.py b/aiida_flexpart/calculations/new_plugin.py index fd61d89..e24bcd8 100644 --- a/aiida_flexpart/calculations/new_plugin.py +++ b/aiida_flexpart/calculations/new_plugin.py @@ -40,7 +40,7 @@ def prepare_for_submission(self, folder): with folder.open('file.csv','w') as f: for i,j in self.inputs.remote.items(): - f.write(f'{j.target_basepath}, {i}, date\n') + f.write(f'{j.target_basepath}, {i[:10].replace("_", "-")}, {i[10:]}\n') # Prepare a `CalcInfo` to be returned to the engine calcinfo = common.CalcInfo()