Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Correct review items.
  • Loading branch information
EdwardSafford-NOAA committed Nov 7, 2024
1 parent ab0f967 commit 50ab96e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ush/splitPlotYaml.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def check_plotlist(type, logger, plotlist, sat=None, instr=None, obstype=None):
type (str): type of plot
logger (Logger): logger for output warnings
plotlist (list): list of requested plot specifications
sat (str): satellite name (deafault None)
sat (str): satellite name (default None)
instr (str); instrument name (default None)
obstype (str): observation type namea (default None)
Expand Down Expand Up @@ -76,7 +76,7 @@ def check_plotlist(type, logger, plotlist, sat=None, instr=None, obstype=None):
missing.append(val)
plot_info = (f" {obstype}, {plotlist.get('plot')}")

if missing:
if len(missing) > 0:
logger.info(f'WARNING: YAML for plot {plot_info} is missing {missing}')
logger.info(f'WARNING: Requested plot will be SKIPPED.')
rtn_val = False
Expand Down

0 comments on commit 50ab96e

Please sign in to comment.