From 26edaefc8741a3363dbf2f3f2aeae640098b9700 Mon Sep 17 00:00:00 2001 From: Dominique Date: Fri, 24 May 2024 14:57:51 +0100 Subject: [PATCH] Fixed rules_10xx.py --- isatools/isatab/validate/rules/rules_10xx.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/isatools/isatab/validate/rules/rules_10xx.py b/isatools/isatab/validate/rules/rules_10xx.py index dc7b5d89..03efe4f4 100644 --- a/isatools/isatab/validate/rules/rules_10xx.py +++ b/isatools/isatab/validate/rules/rules_10xx.py @@ -336,7 +336,7 @@ def check_unit_value(cell_value, unit_value, cfield, filename): if cell_has_value(cell_value) or cell_has_value(unit_value): local_spl = "Field '{}' has a unit but not a value in the file '{}'".format(cfield.header, filename) validator.add_warning(message="Cell found has unit but no value", supplemental=local_spl, code=4999) - log.warning("(W) {}".format(spl)) + log.warning("(W) {}".format(local_spl)) return False return True