Skip to content

Commit 1d3a60e

Browse files
committed
pycodestyle fixes
1 parent d505be1 commit 1d3a60e

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

dev/workflow/rocoto/gcafs_tasks.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -715,7 +715,7 @@ def _fcst_cycled(self):
715715
# Create the nested dependency structure
716716
or_dependencies = []
717717

718-
# Always group sfcanl and aeroanlfinal together with AND
718+
# Always group sfcanl and aeroanlfinal together with AND
719719
sfcanl_aero_deps = []
720720
dep_dict = {'type': 'task', 'name': f'{anldep}_sfcanl'}
721721
sfcanl_aero_deps.append(rocoto.add_dependency(dep_dict))
@@ -726,7 +726,7 @@ def _fcst_cycled(self):
726726

727727
sfcanl_aero_and = rocoto.create_dependency(dep_condition='and', dep=sfcanl_aero_deps)
728728
or_dependencies.append(sfcanl_aero_and)
729-
729+
730730
if self.run in ['gcdas']:
731731
dep_dict = {'type': 'task', 'name': f'{self.run}_stage_ic'}
732732
or_dependencies.append(rocoto.add_dependency(dep_dict))
@@ -1526,4 +1526,4 @@ def cleanup(self):
15261526

15271527
task = rocoto.create_task(task_dict)
15281528

1529-
return task
1529+
return task

ush/python/pygfs/task/analysis.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@ def __init__(self, config: Dict[str, Any]):
7373
'WINDOW_END': _window_end,
7474
'WINDOW_LENGTH': f"PT{self.task_config.assim_freq}H",
7575
'next_cycle': _next_cycle,
76-
'OPREFIX': f"{self.task_config.RUN.replace('enkf','')}.t{self.task_config.cyc:02d}z.",
77-
'APREFIX': f"{self.task_config.RUN.replace('enkf','')}.t{self.task_config.cyc:02d}z.",
78-
'APREFIX_ENS': f"enkf{self.task_config.RUN.replace('enkf','')}.t{self.task_config.cyc:02d}z.",
76+
'OPREFIX': f"{self.task_config.RUN.replace('enkf', '')}.t{self.task_config.cyc:02d}z.",
77+
'APREFIX': f"{self.task_config.RUN.replace('enkf', '')}.t{self.task_config.cyc:02d}z.",
78+
'APREFIX_ENS': f"enkf{self.task_config.RUN.replace('enkf', '')}.t{self.task_config.cyc:02d}z.",
7979
'GPREFIX': f"{_da_prefix}.t{self.task_config.previous_cycle.hour:02d}z.",
8080
'GPREFIX_ENS': f"enkf{_da_prefix}.t{self.task_config.previous_cycle.hour:02d}z.",
8181
'OCNRES': f"{self.task_config.OCNRES:03d}",

0 commit comments

Comments
 (0)