Skip to content

Commit

Permalink
Empty components in user runscript will now be removed from user_config.
Browse files Browse the repository at this point in the history
  • Loading branch information
nwieters committed Aug 18, 2023
1 parent 04bd9dc commit 488c87f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/esm_parser/esm_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ def check_for_empty_components_in_user_config(user_config):
f"file ``{user_config['general']['runscript_abspath']}`` is empty. "
"No further variables are set for this component in your runscript."
)
user_config[model] = {}
del user_config[model]
return user_config

def complete_config(user_config):
Expand Down

0 comments on commit 488c87f

Please sign in to comment.