From a2036a27edcfa8087442eeb1325a3f9d6997e078 Mon Sep 17 00:00:00 2001 From: tpereachamblee Date: Tue, 22 Feb 2022 21:47:49 +0000 Subject: [PATCH] fixed single vs paired for quant --- scripts/quant.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/scripts/quant.py b/scripts/quant.py index 7574345..51bc7e7 100644 --- a/scripts/quant.py +++ b/scripts/quant.py @@ -148,11 +148,7 @@ def arg_check_files(parser, arg): args = parser.parse_args() - paired = False - if len(args.file) == 0: - sys.exit('[genotype] Error: FASTQ required') - elif len(args.file) == 2: - paired = True + paired = not args.single if args.sample == None: sample = os.path.basename(args.file[0]).split('.')[0]