aboutsummaryrefslogtreecommitdiff
path: root/quality_control/headers.py
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2022-04-11 15:24:31 +0300
committerFrederick Muriuki Muriithi2022-04-11 15:24:31 +0300
commitf15fac33627952ccf5d85a8c363b6d829c03b90d (patch)
treece6887411a581f952dbaa44963fb88415dd88d05 /quality_control/headers.py
parentec30480a7121956b0ccde353180d1656fce866af (diff)
downloadgn-uploader-f15fac33627952ccf5d85a8c363b6d829c03b90d.tar.gz
Add tests for headers
* Add tests to check for validity of the headers * Add stubs for the tests
Diffstat (limited to 'quality_control/headers.py')
-rw-r--r--quality_control/headers.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/quality_control/headers.py b/quality_control/headers.py
new file mode 100644
index 0000000..b8ff160
--- /dev/null
+++ b/quality_control/headers.py
@@ -0,0 +1,7 @@
+"""Validate the headers"""
+
+from quality_control.errors import InvalidHeaderValue
+
+def valid_header(strains, headers):
+ "Return the valid headers with reference to strains or throw an error"
+ return None