diff options
author | Frederick Muriuki Muriithi | 2022-04-13 10:09:02 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2022-04-13 10:09:02 +0300 |
commit | bb8a92b36f85f6f3b2c6cd9ed6bbebd03ecf127c (patch) | |
tree | 2a0f89e8c8f431fff9674ec6c730bdbdcfe9c430 /quality_control | |
parent | 0cc8fd5fb2a026662dc2bd12f6bad9f68e5da5b0 (diff) | |
download | gn-uploader-bb8a92b36f85f6f3b2c6cd9ed6bbebd03ecf127c.tar.gz |
Add tests outline for file parsing
Add dummy failing tests and a stub for the parsing of the files
Diffstat (limited to 'quality_control')
-rw-r--r-- | quality_control/parsing.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/quality_control/parsing.py b/quality_control/parsing.py new file mode 100644 index 0000000..52124f9 --- /dev/null +++ b/quality_control/parsing.py @@ -0,0 +1,12 @@ +from enum import Enum + +import quality_control.average as avg +import quality_control.standard_error as se +from quality_control.errors import InvalidCellValue, InvalidHeaderValue + +class FileType(Enum): + AVERAGE = 1 + STANDARD_ERROR = 2 + +def parse_file(filepath: str, filetype: FileType): + pass |