Skip to content

Commit

Permalink
Fix enkfgfs cleanup dependency (NOAA-EMC#1941)
Browse files Browse the repository at this point in the history
When NOAA-EMC#1906 was merged, the dependency for enkf cycles was hard-coded
to use the enkfgdas archive instead of depending on the `RUN`.
  • Loading branch information
WalterKolczynski-NOAA committed Oct 20, 2023
1 parent 1a5d0b5 commit 08ce4f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workflow/rocoto/gfs_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -948,7 +948,7 @@ def arch(self):
def cleanup(self):
deps = []
if 'enkf' in self.cdump:
dep_dict = {'type': 'metatask', 'name': 'enkfgdaseamn'}
dep_dict = {'type': 'metatask', 'name': f'{self.cdump}eamn'}
deps.append(rocoto.add_dependency(dep_dict))
else:
dep_dict = {'type': 'task', 'name': f'{self.cdump}arch'}
Expand Down

0 comments on commit 08ce4f8

Please sign in to comment.