Skip to content

Commit

Permalink
Fix python style errors (#1330)
Browse files Browse the repository at this point in the history
Some python style errors crept in to develop because we ignored pynorm failures during the PR process. These errors are now corrected.
  • Loading branch information
WalterKolczynski-NOAA committed Feb 22, 2023
1 parent e18a790 commit adae24c
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion test/diff_grib_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
Path to the second grib2 file
'''

import re
import sys
import subprocess
Expand Down
2 changes: 0 additions & 2 deletions workflow/applications.py
Original file line number Diff line number Diff line change
Expand Up @@ -396,8 +396,6 @@ def _get_cycled_task_names(self):

gdas_tasks += gdas_gfs_common_tasks_after_fcst



if self.do_wave and 'gdas' in self.wave_cdumps:
if self.do_wave_bnd:
gdas_tasks += wave_bndpnt_tasks
Expand Down
2 changes: 1 addition & 1 deletion workflow/rocoto/workflow_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -1351,7 +1351,7 @@ def create_wf_task(task_name, resources,
'varval': f'{varval}',
'vardict': vardict}

cycledefstr = cdump.replace('enkf','') if cycledef is None else cycledef
cycledefstr = cdump.replace('enkf', '') if cycledef is None else cycledef

task_dict = {'taskname': f'{tasknamestr}',
'cycledef': f'{cycledefstr}',
Expand Down

0 comments on commit adae24c

Please sign in to comment.