aboutsummaryrefslogtreecommitdiff
path: root/quality_control
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2022-06-02 09:55:34 +0300
committerFrederick Muriuki Muriithi2022-06-02 09:55:34 +0300
commit8bb941deef5208bdccd3805af93c982aac627752 (patch)
tree857011b9b32c8d34d14d9cb6b3cd0672dbe76737 /quality_control
parent473b33abc68b17834f11417257a1f9e3d7f25768 (diff)
downloadgn-uploader-8bb941deef5208bdccd3805af93c982aac627752.tar.gz
Provide missing argument
Diffstat (limited to 'quality_control')
-rw-r--r--quality_control/average.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/quality_control/average.py b/quality_control/average.py
index fd0cf4e..06b0a47 100644
--- a/quality_control/average.py
+++ b/quality_control/average.py
@@ -10,7 +10,7 @@ def invalid_value(line_number: int, column_number: int, val: str) -> Union[
value."""
if re.search(r"^[0-9]+\.[0-9]{3}$", val):
return None
- if re.search(r"^0\.0+$", val) or re.search("^0+$"):
+ if re.search(r"^0\.0+$", val) or re.search("^0+$", val):
return None
return InvalidValue(
line_number, column_number, val, (