-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Your nextflow tower run ended with the error
python3: can't open file '/.nextflow/assets/ncihtan/nf-htan-qc/modules/download_synapse.py': [Errno 2] No such file or directory
In the relevant process you put the path to the script as
nf-htan-qc/modules/download.nf
Line 12 in b8c1298
| python3 ${baseDir}/modules/download_synapse.py ${synapse_id} |
A more robust approach to pointing towards scripts in Nextflow is to
- Put the script in the
bindirectory of the workflow repo - Ensure it has a python shebang at the top (
#!/usr/bin/env python) - Ensure it is executable with
chmod +x <path-to-script> - Evoke it without saying
pythoneg justdownload_synapse.py <samplesheet>
See: https://www.nextflow.io/docs/latest/sharing.html#the-bin-directory
Metadata
Metadata
Assignees
Labels
No labels