about summary refs log tree commit diff
path: root/quality_control
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2022-04-25 16:22:33 +0300
committerFrederick Muriuki Muriithi2022-04-25 16:22:33 +0300
commita5477c59452cdb01ab536f11eb5ed6fab015f3af (patch)
tree42f8f11ce626e9f2390f583578d8e32436bc55e1 /quality_control
parent063a9529c49df5f21d83c973f501db09161542cd (diff)
downloadgn-uploader-a5477c59452cdb01ab536f11eb5ed6fab015f3af.tar.gz
Call parsing function. Fix a few issues.
* qc_app/entry.py: Pass filetype onward to parsing endpoint
* qc_app/parse.py: Call the function(s) necessary to parse a file
* quality_control/errors.py: Fix argument passing to super class
Diffstat (limited to 'quality_control')
-rw-r--r--quality_control/errors.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/quality_control/errors.py b/quality_control/errors.py
index 0802159..29a38f9 100644
--- a/quality_control/errors.py
+++ b/quality_control/errors.py
@@ -4,21 +4,21 @@ class InvalidCellValue(Exception):
     """Raised when a function encounters an invalid value"""
 
     def __init__(self, *args):
-        super().__init__(self, *args)
+        super().__init__(*args)
 
 class InvalidHeaderValue(Exception):
     """Raised when a header contains values not in the reference file."""
 
     def __init__(self, *args):
-        super().__init__(self, *args)
+        super().__init__(*args)
 
 class DuplicateHeader(Exception):
     """Raised when a header contains 2 similar headers."""
 
     def __init__(self, *args):
-        super().__init__(self, *args)
+        super().__init__(*args)
 
 class ParseError(Exception):
     """Raised if any of the above exceptions are raised"""
     def __init__(self, *args):
-        super().__init__(self, *args)
+        super().__init__(*args)