Skip to content

Commit d284d33

Browse files
committed
Fixup extend to all tasks
1 parent 9e18f49 commit d284d33

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

polaris/ocean/tasks/cosine_bell/forward.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,5 @@ def __init__(self, component, name, subdir, resolution, mesh, init):
3838
init=init, package=package,
3939
yaml_filename='forward.yaml',
4040
output_filename='output.nc',
41-
validate_vars=validate_vars)
41+
validate_vars=validate_vars,
42+
graph_target=f'{init.path}/graph.info')

polaris/ocean/tasks/geostrophic/forward.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,5 @@ def __init__(self, component, name, subdir, resolution, mesh, init):
4141
init=init, package=package,
4242
yaml_filename='forward.yaml',
4343
output_filename='output.nc',
44-
validate_vars=validate_vars)
44+
validate_vars=validate_vars,
45+
graph_target=f'{init.path}/graph.info')

polaris/ocean/tasks/internal_wave/forward.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def __init__(self, component, init, name='forward', subdir=None,
6969
self.add_yaml_file('polaris.ocean.config', 'output.yaml')
7070

7171
self.add_input_file(filename='initial_state.nc',
72-
target=f'{init.path}/initial_state.nc')
72+
work_dir_target=f'{init.path}/initial_state.nc')
7373

7474
self.add_yaml_file('polaris.ocean.tasks.internal_wave',
7575
'forward.yaml')

polaris/ocean/tasks/sphere_transport/forward.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,5 @@ def __init__(self, component, name, subdir, resolution, base_mesh, init,
5252
yaml_filename='forward.yaml',
5353
output_filename='output.nc',
5454
validate_vars=validate_vars,
55-
options=namelist_options)
55+
options=namelist_options,
56+
graph_target=f'{init.path}/graph.info')

0 commit comments

Comments
 (0)