Skip to content

Commit

Permalink
small fix (#729)
Browse files Browse the repository at this point in the history
  • Loading branch information
bitterbark authored Jan 10, 2025
1 parent 865c8dd commit 38065e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/catalog_builder/parsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ def parse_gfdl_am5_data(file_name: str):
if hasattr(gfdl_info['variables'], catalog_info['variable_id']):
var_metadata = gfdl_info['variables'].get(catalog_info['variable_id'])
else:
raise KeyError(f'{catalog_info['variable_id']} not found in {gfdl_fieldlist}')
raise KeyError(f"{catalog_info['variable_id']} not found in {gfdl_fieldlist}")
if hasattr(var_metadata, 'standard_name'):
catalog_info.update({'standard_name': var_metadata.standard_name})
if hasattr(var_metadata, 'long_name'):
Expand Down

0 comments on commit 38065e8

Please sign in to comment.