Skip to content

Commit

Permalink
Try making reads directory first
Browse files Browse the repository at this point in the history
  • Loading branch information
apetkau committed Jan 24, 2024
1 parent a9a9451 commit 4ec4df3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,11 @@ jobs:
run: |
nf-test test
- name: List test files
if: always()
run: |
ls -laR .nf-test/tests/*/work/*
- name: Nextflow run with test profile
run: |
nextflow run ${GITHUB_WORKSPACE} -profile test,docker --outdir ./results
8 changes: 4 additions & 4 deletions modules/local/sratools/fasterqdump/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -35,17 +35,17 @@ process SRATOOLS_FASTERQDUMP {
"""
export NCBI_SETTINGS="\$PWD/${ncbi_settings}"
# Make directory ahead of time since otherwise
# fasterq-dump does not set correct permissions/owner
mkdir reads
fasterq-dump \\
$args \\
--threads $task.cpus \\
--outdir reads \\
${key_file} \\
${sra}
# Without this, I am unable to run tests for this module
# since I cannot access files in this directory
chmod a+x reads
pigz \\
$args2 \\
--no-name \\
Expand Down

0 comments on commit 4ec4df3

Please sign in to comment.