Skip to content

Commit

Permalink
Fix do_extractvars bug, remove unused modules
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidHuber-NOAA committed Sep 25, 2024
1 parent 7dbf11a commit de57402
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions workflow/rocoto/gefs_tasks.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from applications.applications import AppConfig
from rocoto.tasks import Tasks
import rocoto.rocoto as rocoto
from datetime import datetime, timedelta


class GEFSTasks(Tasks):
Expand Down Expand Up @@ -560,7 +559,7 @@ def arch(self):

def cleanup(self):
deps = []
if self.app_config.do_extractvars:
if self.options['do_extractvars']:
dep_dict = {'type': 'task', 'name': 'arch'}
deps.append(rocoto.add_dependency(dep_dict))
dependencies = rocoto.create_dependency(dep=deps)
Expand Down

0 comments on commit de57402

Please sign in to comment.