diff --git a/aiida_flexpart/calculations/post_processing.py b/aiida_flexpart/calculations/post_processing.py index b5cd72d..85503ec 100644 --- a/aiida_flexpart/calculations/post_processing.py +++ b/aiida_flexpart/calculations/post_processing.py @@ -26,6 +26,7 @@ def define(cls, spec): } #INPUTS + spec.input('metadata.options.parser_name', valid_type=str, default='flexpart.post') spec.input("input_dir", valid_type = orm.RemoteData, required=True, help = "main FLEXPART output dir") spec.input("input_offline_dir", valid_type = orm.RemoteData, required=False, diff --git a/examples/example_workflow_combi.py b/examples/example_workflow_combi.py index 2720334..990627b 100644 --- a/examples/example_workflow_combi.py +++ b/examples/example_workflow_combi.py @@ -63,8 +63,8 @@ def simulation_dates_parser(date_list: list) -> list: def test_run(flexpart_code): """Run workflow.""" - simulation_dates = simulation_dates_parser(['2020-10-01,2020-10-02']) - model = ['cosmo7', 'cosmo1'] + simulation_dates = simulation_dates_parser(['2020-10-01']) + model = ['cosmo7'] model_offline = [] username='lfernand' outgrid_main = 'Europe' @@ -76,7 +76,7 @@ def test_run(flexpart_code): scratch_address=f'/scratch/snx3000/{username}/FLEXPART_input/' #list of locations and/or groups of locations - list_locations = ['group-name-2'] + list_locations = ['KIT_200magl'] # Links to the remote files/folders.