aboutsummaryrefslogtreecommitdiff
path: root/quality_control/average.py
diff options
context:
space:
mode:
Diffstat (limited to 'quality_control/average.py')
-rw-r--r--quality_control/average.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/quality_control/average.py b/quality_control/average.py
index 1a7bf5f..c552ba3 100644
--- a/quality_control/average.py
+++ b/quality_control/average.py
@@ -1,12 +1,12 @@
"""Contain logic for checking average files"""
import re
-from .errors import InvalidValue
+from .errors import InvalidCellValue
def valid_value(val):
if re.search("^[0-9]+\.[0-9]{3}$", val):
return float(val)
- raise InvalidValue(
+ raise InvalidCellValue(
f"Invalid value '{val}'.\n"
"Expected string representing a number with exactly three decimal "
"places.")