Skip to content

Commit

Permalink
Merge pull request #326 from climbfuji/update_from_master_20201002_an…
Browse files Browse the repository at this point in the history
…d_more

feature/transition-to-capgen-1: remove obsolete warning message from scripts/metadata_parser.py
  • Loading branch information
climbfuji authored Oct 5, 2020
2 parents 1dda224 + 3079c24 commit 3fee72a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/metadata_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,6 @@ def read_new_metadata(filename, module_name, table_name, scheme_name = None, sub
else:
container = encode_container(module_name, new_metadata_header.title)
else:
logging.warning("DH DEBUG: new_metadata_header.property_table, new_metadata_header.title, scheme_name: {} {} {}".format(new_metadata_header.property_table, new_metadata_header.title, scheme_name))
# Scheme property tables
if new_metadata_header.property_table and new_metadata_header.title == scheme_name:
# If this is a ccpp-table-properties table for a scheme, it can only contain dependencies;
Expand All @@ -171,7 +170,7 @@ def read_new_metadata(filename, module_name, table_name, scheme_name = None, sub
# make sense), we swap the standard name and add a note to the long name
legacy_note = ''
if standard_name == 'horizontal_loop_extent' and scheme_name and \
(table_name.endswith("_init") or table_name.endswith("finalize")):
(table_name.endswith("_init") or table_name.endswith("_finalize")):
logging.warn("Legacy extension - replacing variable 'horizontal_loop_extent'" + \
" with 'horizontal_dimension' in table {}".format(table_name))
standard_name = 'horizontal_dimension'
Expand Down

0 comments on commit 3fee72a

Please sign in to comment.