aboutsummaryrefslogtreecommitdiff
path: root/r_qtl/fileerrors.py
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-02-08 04:00:20 +0300
committerFrederick Muriuki Muriithi2024-02-08 04:00:20 +0300
commit1b61b59dcc8e92cbeaedfa7183df281555ba2828 (patch)
treeba7b12b1ba1b753184333d5a1abc3990db59ce04 /r_qtl/fileerrors.py
parent824ccc82d074c57052972ef676ecf598781ca7e4 (diff)
downloadgn-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.py5
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"))