Skip to content

Commit

Permalink
Merge branch 'development'
Browse files Browse the repository at this point in the history
  • Loading branch information
jon-ide committed May 24, 2024
2 parents a17e333 + 6a85e8b commit acd42f0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion webapp/home/check_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -1566,6 +1566,7 @@ def get_section_from_link(link):
'/eml/attribute_categorical/' in link or \
'/eml/attribute_dateTime/' in link or \
'/eml/attribute_numerical/' in link or \
'/eml/attribute_select' in link or \
'/eml/attribute_text/' in link or \
'/eml/code_definition' in link:
return 'data_tables'
Expand Down Expand Up @@ -1680,7 +1681,7 @@ def find_node_ids(link):
severity = entry.severity
if entry.link:
which = get_section_from_link(entry.link)
if which is not None:
if which:
current_severity = section_links_found.get(which, EvalSeverity.OK)
if severity.value < current_severity.value:
section_links_found[which] = severity
Expand Down

0 comments on commit acd42f0

Please sign in to comment.