From aca721d90eaebbf16dfc7669005dfd4b5897946b Mon Sep 17 00:00:00 2001 From: WardDeb Date: Fri, 17 May 2024 12:36:12 +0200 Subject: [PATCH] include wildcard for mqc globber --- src/dissectBCL/fakeNews.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dissectBCL/fakeNews.py b/src/dissectBCL/fakeNews.py index c05d8f7..2f22d96 100644 --- a/src/dissectBCL/fakeNews.py +++ b/src/dissectBCL/fakeNews.py @@ -533,7 +533,7 @@ def shipFiles(outPath, config): seqFacDir ).mkdir(parents=True, exist_ok=True) _mqcreports = glob.glob( - os.path.join(outPath, '*', 'multiqc_report.html') + os.path.join(outPath, '*', '*multiqc_report.html') ) if not _mqcreports: logging.warning(f"No multiqcreports found under {outLane}") @@ -549,7 +549,7 @@ def shipFiles(outPath, config): config['Dirs']['bioinfoCoreDir'], qcRepo.split('/')[-2] + '_multiqcreport.html' ) - logging.info(f"Copying {qcRepo} over to {outqcBioinfo}") + logging.info(f"Copying {qcRepo} over to {outqcBioinfo}") shutil.copyfile(qcRepo, outqcBioinfo) transferStop = datetime.datetime.now() transferTime = transferStop - transferStart