From 733b74ff4384b95fd973365c754e19654fb2e4be Mon Sep 17 00:00:00 2001 From: Travis Thompson Date: Mon, 5 Feb 2024 16:44:35 -0500 Subject: [PATCH] Missed a small change. --- isatools/isatab/validate/rules/rules_40xx.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/isatools/isatab/validate/rules/rules_40xx.py b/isatools/isatab/validate/rules/rules_40xx.py index 9679923d..bd223ce5 100644 --- a/isatools/isatab/validate/rules/rules_40xx.py +++ b/isatools/isatab/validate/rules/rules_40xx.py @@ -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