aboutsummaryrefslogtreecommitdiff
path: root/quality_control/standard_error.py
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2022-05-20 10:36:48 +0300
committerFrederick Muriuki Muriithi2022-05-20 10:36:48 +0300
commit960c1a5b831d8761a3e1716f86ded4cc5b67eea0 (patch)
treed82d03b094a7bd3a21f088c95cfdc84788d5717a /quality_control/standard_error.py
parent53a1f36b4e910ea9706d427530b5fa6acfe917cc (diff)
downloadgn-uploader-960c1a5b831d8761a3e1716f86ded4cc5b67eea0.tar.gz
Accept exponential notation for standard-error files
Diffstat (limited to 'quality_control/standard_error.py')
-rw-r--r--quality_control/standard_error.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/quality_control/standard_error.py b/quality_control/standard_error.py
index c866993..5489ade 100644
--- a/quality_control/standard_error.py
+++ b/quality_control/standard_error.py
@@ -12,7 +12,7 @@ def invalid_value(
`val` is not a valid input for standard error files, otherwise, it returns
`None`.
"""
- if re.search(r"^[0-9]+\.[0-9]{6,}$", val):
+ if re.search(r"(^[0-9]+\.[0-9]{6,}$|^[0-9]+\.[0-9]{6,}[eE]-[0-9]+$)", val):
return None
return InvalidValue(
line_number, column_number, val, (