Skip to content

Commit

Permalink
Revert "Mess up FASTQC deliberately to test failures"
Browse files Browse the repository at this point in the history
This reverts commit c28fef4.
  • Loading branch information
adamrtalbot committed Jul 31, 2023
1 parent c28fef4 commit 4f7c9ac
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions modules/nf-core/fastqc/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,19 @@ process FASTQC {
def rename_to = old_new_pairs*.join(' ').join(' ')
def renamed_files = old_new_pairs.collect{ old_name, new_name -> new_name }.join(' ')
"""
printf "%s %s\\n" $rename_to | while read old_name new_name; do
[ -f "\${new_name}" ] || ln -s \$old_name \$new_name
done
fastqc \\
$args \\
--threads $task.cpus \\
$renamed_files
cat <<-END_VERSIONS > versions.yml
"${task.process}":
fastqc: \$( fastqc --version | sed -e "s/FastQC v//g" )
END_VERSIONS
"""

stub:
Expand Down

0 comments on commit 4f7c9ac

Please sign in to comment.