aboutsummaryrefslogtreecommitdiff
path: root/r_qtl
diff options
context:
space:
mode:
Diffstat (limited to 'r_qtl')
-rw-r--r--r_qtl/r_qtl2_qc.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/r_qtl/r_qtl2_qc.py b/r_qtl/r_qtl2_qc.py
index 6f7b374..7b26b50 100644
--- a/r_qtl/r_qtl2_qc.py
+++ b/r_qtl/r_qtl2_qc.py
@@ -8,6 +8,7 @@ from r_qtl import r_qtl2 as rqtl2
from r_qtl import exceptions as rqe
from r_qtl.r_qtl2 import FILE_TYPES
from r_qtl.fileerrors import MissingFile
+from r_qtl.exceptions import InvalidFormat
from quality_control.errors import InvalidValue
from quality_control.checks import decimal_points_error
@@ -86,7 +87,7 @@ def missing_files(bundlesrc: Union[Path, ZipFile]) -> tuple[tuple[str, str], ...
return __missing_from_zipfile__(bundlesrc, cdata)
if isinstance(bundlesrc, Path):
if is_zipfile(bundlesrc):
- return __missing_from_zipfile__(ZipFile(bundlesrc, cdata))
+ return __missing_from_zipfile__(ZipFile(bundlesrc), cdata)
if bundlesrc.is_dir():
return __missing_from_dirpath__(bundlesrc, cdata)
raise InvalidFormat(