From 949ea71eb721a3f5bdff3ba10f7dd7c70899d560 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Mon, 5 Feb 2024 12:11:43 +0300 Subject: Fix linting and type errors. --- scripts/rqtl2/install_genotypes.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts/rqtl2/install_genotypes.py') diff --git a/scripts/rqtl2/install_genotypes.py b/scripts/rqtl2/install_genotypes.py index bfe17b8..7f3f65a 100644 --- a/scripts/rqtl2/install_genotypes.py +++ b/scripts/rqtl2/install_genotypes.py @@ -11,6 +11,7 @@ import MySQLdb as mdb from MySQLdb.cursors import DictCursor from r_qtl import r_qtl2 as rqtl2 +from r_qtl import r_qtl2_qc as rqc from functional_tools import take @@ -166,7 +167,7 @@ def install_genotypes(#pylint: disable=[too-many-arguments, too-many-locals] with ZipFile(str(rqtl2bundle.absolute()), "r") as zfile: try: logger.info("Validating bundle") - rqtl2.validate_bundle(zfile) + rqc.validate_bundle(zfile) logger.info("Bundle validated successfully.") logger.info(("Loading genotypes. This could take a while. " "Please be patient.")) -- cgit v1.2.3