aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-10-14 13:24:11 -0500
committerFrederick Muriuki Muriithi2024-10-14 13:27:44 -0500
commit681b4812214d377ea84801acf6a4b2d8fc688775 (patch)
tree650e52f689143b8e0ad6fae84a788c406ae0d1dc
parent1cf1a85c1bcf53e02273848b488d664b5bf3f275 (diff)
downloadgn-uploader-681b4812214d377ea84801acf6a4b2d8fc688775.tar.gz
Update typing information.
-rw-r--r--r_qtl/r_qtl2_qc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/r_qtl/r_qtl2_qc.py b/r_qtl/r_qtl2_qc.py
index 7b26b50..2d9e9a8 100644
--- a/r_qtl/r_qtl2_qc.py
+++ b/r_qtl/r_qtl2_qc.py
@@ -95,7 +95,7 @@ def missing_files(bundlesrc: Union[Path, ZipFile]) -> tuple[tuple[str, str], ...
"pointing to a directory containing the R/qtl2 bundle.")
-def validate_bundle(zfile: ZipFile):
+def validate_bundle(zfile: Union[Path, ZipFile]):
"""Ensure the R/qtl2 bundle is valid."""
missing = missing_files(zfile)
if len(missing) > 0: