Skip to content

Commit

Permalink
Missed a small change.
Browse files Browse the repository at this point in the history
  • Loading branch information
ptth222 committed Mar 11, 2024
1 parent e95a8de commit 733b74f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions isatools/isatab/validate/rules/rules_40xx.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,9 +266,9 @@ def pairwise(iterable):
last_proto_index = -1
last_mat_or_dat_index = table.columns.get_loc(field_headers[len(field_headers) - 1])
if last_proto_index > last_mat_or_dat_index:
spl = "Protocol REF column without output in file '" + table.filename + "'"
spl = "(W) Protocol REF column is not followed by a material or data node in file '" + table.filename + "'"
validator.add_warning(message="Missing Protocol Value", supplemental=spl, code=1007)
log.warning("(W) Protocol REF column is not followed by a material or data node in file '" + table.filename + "'")
log.warning(spl)
if cfg.get_isatab_configuration():
for left, right in pairwise(field_headers):
cleft = None
Expand Down

0 comments on commit 733b74f

Please sign in to comment.