aboutsummaryrefslogtreecommitdiff
path: root/quality_control/headers.py
AgeCommit message (Expand)Author
2024-02-20Track filename in the errors...R/qtl2 bundles can contain more than one file, of the same type. When errors are encountered in any of the files, we need to be able to inform the user which file it is, in addition to the line and column number. Frederick Muriuki Muriithi
2022-06-15Fix linting and type errorsFrederick Muriuki Muriithi
2022-05-18Remove obsoleted code. Fix linting errors....Remove the old code that relied on exceptions to parse errors in the uploaded files. Frederick Muriuki Muriithi
2022-05-18Simplify slot names and fix namedtuple type name...- replace `line_number` with `line` and `column_number` with `column` to save on slot name lengths. - Fix the type name for the `DuplicateHeading` namedtuple type Frederick Muriuki Muriithi
2022-05-18Return errors when found or None otherwise...This commit adds a number of functions that return the error object when an error is found, or `None` otherwise. It avoids the use of exceptions as control flow constructs. Frederick Muriuki Muriithi
2022-04-13Update `valid_header` to pass check for duplicated headersFrederick Muriuki Muriithi
2022-04-11Implement MVI for headers validity checking function...Add a minimum viable implementation that passes the tests for the function that checks for the validity of the headers Frederick Muriuki Muriithi
2022-04-11Add tests for headers...* Add tests to check for validity of the headers * Add stubs for the tests Frederick Muriuki Muriithi