From 6430511369770373fad737c3e04fce256441cea3 Mon Sep 17 00:00:00 2001 From: "Walter.Kolczynski" Date: Fri, 20 Oct 2023 16:05:30 +0000 Subject: [PATCH] Fix enkfgfs cleanup dependency When #1906 was merged, the dependency for enkf cycles was hard-coded to use the enkfgdas archive instead of depending on the `RUN`. --- workflow/rocoto/gfs_tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workflow/rocoto/gfs_tasks.py b/workflow/rocoto/gfs_tasks.py index e41e4ebcc1..56449cb9d5 100644 --- a/workflow/rocoto/gfs_tasks.py +++ b/workflow/rocoto/gfs_tasks.py @@ -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'}