diff options
author | Frederick Muriuki Muriithi | 2024-02-08 04:00:20 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-02-08 04:00:20 +0300 |
commit | 1b61b59dcc8e92cbeaedfa7183df281555ba2828 (patch) | |
tree | ba7b12b1ba1b753184333d5a1abc3990db59ce04 /r_qtl/fileerrors.py | |
parent | 824ccc82d074c57052972ef676ecf598781ca7e4 (diff) | |
download | gn-uploader-1b61b59dcc8e92cbeaedfa7183df281555ba2828.tar.gz |
Use error objects rather than plain tuple values.
Diffstat (limited to 'r_qtl/fileerrors.py')
-rw-r--r-- | r_qtl/fileerrors.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/r_qtl/fileerrors.py b/r_qtl/fileerrors.py new file mode 100644 index 0000000..e76676c --- /dev/null +++ b/r_qtl/fileerrors.py @@ -0,0 +1,5 @@ +"""QC errors as distinguished from actual exceptions""" +from collections import namedtuple + +MissingFile = namedtuple( + "MissingFile", ("controlfilekey", "filename", "message")) |