Skip to content

Commit

Permalink
parser name
Browse files Browse the repository at this point in the history
  • Loading branch information
LucR31 committed Dec 20, 2023
1 parent 3dde1e7 commit da90adc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions aiida_flexpart/calculations/post_processing.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
6 changes: 3 additions & 3 deletions examples/example_workflow_combi.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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.
Expand Down

0 comments on commit da90adc

Please sign in to comment.