Skip to content

Commit

Permalink
Update workflow/rocoto/gfs_tasks.py
Browse files Browse the repository at this point in the history
Co-authored-by: Walter Kolczynski - NOAA <[email protected]>
  • Loading branch information
DavidHuber-NOAA and WalterKolczynski-NOAA authored Sep 17, 2024
1 parent 91c0ffe commit 8b376f5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions workflow/rocoto/gfs_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -2330,8 +2330,7 @@ def cleanup(self):
dep_dict = {'type': 'task', 'name': f'{self.run}npoess_pgrb2_0p5deg'}
deps.append(rocoto.add_dependency(dep_dict))

if self.run in ['gfs']:
if self.app_config.do_metp:
if self.app_config.do_metp and self.run in ['gfs']:
dep_dict = {'type': 'metatask', 'name': f'{self.run}metp'}
deps.append(rocoto.add_dependency(dep_dict))

Expand Down

0 comments on commit 8b376f5

Please sign in to comment.