diff options
author | Frederick Muriuki Muriithi | 2024-01-19 08:29:04 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-01-19 08:29:04 +0300 |
commit | 53b1e7cb181380a24aab4cbc7a9634b2d8dd2d29 (patch) | |
tree | 284a170506ba6557f8a163b3464487346cf40b9c /scripts/rqtl2/entry.py | |
parent | 028e84f8a179f43e092cfb35975ef30d47aca82a (diff) | |
download | gn-uploader-53b1e7cb181380a24aab4cbc7a9634b2d8dd2d29.tar.gz |
scripts: Process R/qtl2 bundle
Build script to start the processing of the R/qtl2 bundle.
Diffstat (limited to 'scripts/rqtl2/entry.py')
-rw-r--r-- | scripts/rqtl2/entry.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/rqtl2/entry.py b/scripts/rqtl2/entry.py index e2d70a6..eccc19d 100644 --- a/scripts/rqtl2/entry.py +++ b/scripts/rqtl2/entry.py @@ -11,13 +11,12 @@ from qc_app.check_connections import check_db, check_redis from scripts.redis_logger import setup_redis_logger -def build_main(cli_args: Callable[[], Namespace], +def build_main(args: Namespace, run_fn: Callable[[Connection, Namespace], int], logger: Logger, loglevel: str = "INFO") -> Callable[[],int]: """Build a function to be used as an entry-point for scripts.""" def main(): - args = cli_args() check_db(args.databaseuri) check_redis(args.redisuri) if not args.rqtl2bundle.exists(): |