Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing import statements on error messages when starting without samplesheet #1566

Closed
asp8200 opened this issue Jun 13, 2024 · 2 comments
Closed
Assignees
Labels
bug Something isn't working
Milestone

Comments

@asp8200
Copy link
Contributor

asp8200 commented Jun 13, 2024

Description of the bug

When not supplying --input (directly or indirectly through use of profile) in a cmd like

nextflow run nf-core/sarek -r 3.4.2 -profile docker --outdir results

on gets the not-so-informative error msg:

ERROR ~ No such variable: Nextflow

 -- Check script '/home/ubuntu/.nextflow/assets/nf-core/sarek/./subworkflows/local/utils_nfcore_sarek_pipeline/main.nf' at line: 344 or see '.nextflow.log' file for more details

It might not be so straightforward to improve on this, as not all commands for sarek require --input:

https://nfcore.slack.com/archives/C05V9FRJYMV/p1718263762323759?thread_ts=1718262962.010069&cid=C05V9FRJYMV

Command used and terminal output

No response

Relevant files

No response

System information

No response

@asp8200 asp8200 added the bug Something isn't working label Jun 13, 2024
@FriederikeHanssen FriederikeHanssen added this to the 3.5 milestone Jul 8, 2024
@FriederikeHanssen
Copy link
Contributor

The issue is, that Nextflow is improperly called in one of the utils subworkflows. Removing it and just call error should fix it.

@FriederikeHanssen FriederikeHanssen changed the title Suboptimal error msg on missing input Missing import statements on error messages when starting without samplesheet Jul 8, 2024
pharmlovex added a commit to pharmlovex/sarek that referenced this issue Oct 29, 2024
@pharmlovex pharmlovex self-assigned this Oct 29, 2024
pharmlovex added a commit to pharmlovex/sarek that referenced this issue Oct 29, 2024
pharmlovex added a commit that referenced this issue Oct 30, 2024
Fix: Missing import statements on error messages(#1566)
@pharmlovex
Copy link
Member

This issue has been fixed #1712 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
No open projects
Status: Done
Development

No branches or pull requests

3 participants