From 060aec353f6999c3bfd5f82fd9f11d301a66bf60 Mon Sep 17 00:00:00 2001 From: Rahul Mahajan Date: Mon, 6 Jan 2025 09:29:35 -0500 Subject: [PATCH] Add echgres as a dependency for earc (#3202) This PR: - adds `echgres` as a dependency to the `earc` job. Resolves #3201 Resolves #3165 --- workflow/rocoto/gfs_tasks.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/workflow/rocoto/gfs_tasks.py b/workflow/rocoto/gfs_tasks.py index 9b6f712380..d2a3e43719 100644 --- a/workflow/rocoto/gfs_tasks.py +++ b/workflow/rocoto/gfs_tasks.py @@ -2901,7 +2901,9 @@ def earc(self): else: dep_dict = {'type': 'task', 'name': f'{self.run}_esfc'} deps.append(rocoto.add_dependency(dep_dict)) - dependencies = rocoto.create_dependency(dep=deps) + dep_dict = {'type': 'task', 'name': f'{self.run}_echgres'} + deps.append(rocoto.add_dependency(dep_dict)) + dependencies = rocoto.create_dependency(dep_condition='and', dep=deps) earcenvars = self.envars.copy() earcenvars.append(rocoto.create_envar(name='ENSGRP', value='#grp#'))