From c3ff4b25ebf190712dbe911a79a87bd5eb55e7c2 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Fri, 27 May 2022 12:00:51 +0300 Subject: Revert "Accept exponential notation for standard-error files" This reverts commit 960c1a5b831d8761a3e1716f86ded4cc5b67eea0. After meeting with Arthur, it was confirmed that the CSV file should not have values in the exponential notation. --- quality_control/standard_error.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'quality_control') diff --git a/quality_control/standard_error.py b/quality_control/standard_error.py index 5489ade..c866993 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,}$|^[0-9]+\.[0-9]{6,}[eE]-[0-9]+$)", val): + if re.search(r"^[0-9]+\.[0-9]{6,}$", val): return None return InvalidValue( line_number, column_number, val, ( -- cgit v1.2.3