Skip to content

Commit

Permalink
modify workflow\rocoto\gefs_tasks.py
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonMFernando-NOAA committed Jan 28, 2025
1 parent c7814d9 commit fb7187c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions workflow/rocoto/gefs_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -631,11 +631,11 @@ def arch_tars(self):

def cleanup(self):
deps = []
dep_dict = {'type': 'task', 'name': 'gefs_arch_vrfy'}
deps.append(rocoto.add_dependency(dep_dict))
if self.options['do_archtar']:
dep_dict = {'type': 'task', 'name': 'gefs_arch_tars'}
deps.append(rocoto.add_dependency(dep_dict))
dep_dict = {'type': 'task', 'name': 'gefs_arch_vrfy'}
deps.append(rocoto.add_dependency(dep_dict))
dependencies = rocoto.create_dependency(dep=deps)
resources = self.get_resource('cleanup')
task_name = 'gefs_cleanup'
Expand Down

0 comments on commit fb7187c

Please sign in to comment.