Skip to content

Commit

Permalink
pynorms
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidNew-NOAA committed Nov 6, 2024
1 parent 482f2f3 commit e59e883
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions ush/python/pygfs/jedi/jedi.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ def initialize(self, task_config: AttrDict) -> None:
Returns
----------
None
"""
"""

# Render JEDI config dictionary
logger.info(f"Generating JEDI YAML config: {self.jedi_config.yaml}")
self.jedi_config.input_config = self.render_jcb(task_config)
Expand Down Expand Up @@ -198,13 +198,13 @@ def get_jedi_dict(jedi_config_yaml: str, task_config: AttrDict, expected_keys: O
path to YAML specifying configuration dictionaries for Jedi objects
task_config : str
attribute-dictionary of all configuration variables associated with a GDAS task
Returns
----------
None
"""

# Initialize dictionary of Jedi objects
jedi_dict = AttrDict()

Expand All @@ -229,7 +229,7 @@ def get_jedi_dict(jedi_config_yaml: str, task_config: AttrDict, expected_keys: O
raise Exception(f"FATAL ERROR: {jedi_dict_key} not present {jedi_config_yaml}")
if len(jedi_dict) > len(expected_keys):
raise Exception(f"FATAL ERROR: {jedi_config_yaml} specifies more Jedi objects than expected.")

# Return dictionary of JEDI objects
return jedi_dict

Expand Down

0 comments on commit e59e883

Please sign in to comment.