Skip to content

Commit

Permalink
include wildcard for mqc globber
Browse files Browse the repository at this point in the history
  • Loading branch information
WardDeb committed May 17, 2024
1 parent d4fe64e commit aca721d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dissectBCL/fakeNews.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}")
Expand All @@ -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
Expand Down

0 comments on commit aca721d

Please sign in to comment.