fetchngs
fetchngs copied to clipboard
Can SRA responses be trapped and reported in a user-friendly manner?
Description of feature
Running:
nextflow run nf-core/fetchngs -r 1.7 --input list.txt --outdir sra -profile docker
Pipeline fails at NFCORE_FETCHNGS:SRA:SRA_IDS_TO_RUNINFO
:
[ERROR] The server couldn't fulfill the request.
[ERROR] Status: 429 Too Many Requests
as the error is buried in the failed task report, it can be a bit intimidating so I was wondering if this kind of problems can be trapped and reported from the workflow itself (e.g. messages from the pipeline like parameter validation)
- nextflow 21.10.6 build 5660
- Cloud VM (OpenStack)
- Executor: local
- OS: "Ubuntu 20.04.3 LTS"
- Container: Docker
- fetchngs 1.7
Looking for errors in the failed task logs is unfortunately quite normal when working with nextflow. I don't think we can/will do something about that. However, I would agree that the error message of the task itself is not very informative and can be improved.