aboutsummaryrefslogtreecommitdiff
path: root/quality_control/standard_error.py
diff options
context:
space:
mode:
Diffstat (limited to 'quality_control/standard_error.py')
-rw-r--r--quality_control/standard_error.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/quality_control/standard_error.py b/quality_control/standard_error.py
index 90beb8a..a1646bc 100644
--- a/quality_control/standard_error.py
+++ b/quality_control/standard_error.py
@@ -13,8 +13,8 @@ def invalid_value(
`None`.
"""
return cell_error(
- r"^([0-9]+\.[0-9]{6,}|[0-9]+\.?0*)$", val, line=line_number,
+ r"^[0-9]+\.[0-9]{1,}$", val, line=line_number,
column=column_number, value=val, message=(
f"Invalid value '{val}'. "
- "Expected string representing a number with at least six "
- "decimal places."))
+ "Expected string representing a number with at least one "
+ "decimal place."))