Skip to content

Commit ce3c678

Browse files
committed
pause R2 trimmed check until file is made
1 parent 4b7f783 commit ce3c678

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pipelines/peppro.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1413,8 +1413,8 @@ def check_trim(trimmed_fastq, paired_end,
14131413
paired_end = args.paired_end
14141414
if read2:
14151415
pm.run([adapter_command, trim_command], trimmed_fq2,
1416-
follow=check_trim(processed_fastq, paired_end, trimmed_fq2,
1417-
fastqc_folder=fastqc_folder))
1416+
follow=lambda: check_trim(processed_fastq, paired_end, trimmed_fq2,
1417+
fastqc_folder=fastqc_folder))
14181418
if args.adapter == "cutadapt":
14191419
output_folder = os.path.join(outfolder, "cutadapt")
14201420
else:

0 commit comments

Comments
 (0)