Skip to content

Commit

Permalink
Fixed rules_10xx.py
Browse files Browse the repository at this point in the history
  • Loading branch information
terazus committed May 24, 2024
1 parent ee12a92 commit 26edaef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion isatools/isatab/validate/rules/rules_10xx.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 26edaef

Please sign in to comment.