Skip to content

Commit

Permalink
Fix Check Metadata not checking for empty Method Step Description. (#157
Browse files Browse the repository at this point in the history
)
  • Loading branch information
jon-ide committed Jan 2, 2024
1 parent 77b28f3 commit 2eb9c7b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions webapp/home/check_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -896,6 +896,9 @@ def check_method_step(method_step_node, doc_name, node_id):
if find_err_code(evaluation_warnings, EvaluationWarning.METHOD_STEP_DESCRIPTION_MISSING, names.DESCRIPTION):
add_to_evaluation('methods_02', link)

if find_min_unmet(validation_errs, names.METHODSTEP, names.DESCRIPTION):
add_to_evaluation('methods_02', link)

link = url_for(PAGE_METHOD_STEP_SELECT, filename=doc_name)
dataset_node = eml_node.find_child(names.DATASET)
if evaluation_warnings is None:
Expand Down

0 comments on commit 2eb9c7b

Please sign in to comment.