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

nf-core launch fails with Could not find pipeline: when choosing pipeline and revision interactively #2411

Closed
alneberg opened this issue Aug 30, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@alneberg
Copy link
Member

Description of the bug

Selecting the pipeline and revision interactively results in a "Could not find pipeline" error.

The cause is most likely that it gives a badly formatted revision string to nextflow pull command. Using pdb I was able to dig out the command that caused the error:

AssertionError: Command 'nextflow pull nf-core/taxprofiler -r ('1.0.1', ['dev', '1.0.1', '1.0.0', 'dev', 'donotdelete-pep-backup', 'feat/nf-tests', 'feature/kreport2krona', 'ganon-fix-database-linking', 'krona-subworkflow', 'master', 'unit-tests', 'update-taxpasta-0.4.1'])' returned non-zero error code '1':

where the correct command should be just

nextflow pull nf-core/taxprofiler -r 1.0.1

Command used and terminal output

nextflow pull nf-core/taxprofiler
Checking nf-core/taxprofiler ...
 Already-up-to-date - revision: 07b926a89e [master]nf-core launch

                                          ,--./,-.
          ___     __   __   __   ___     /,-._.--~\
    |\ | |__  __ /  ` /  \ |__) |__         }  {
    | \| |       \__, \__/ |  \ |___     \`-._,-`-,
                                          `._,._,'

    nf-core/tools version 2.9 - https://nf-co.re/


? Launch local pipeline or remote GitHub pipeline? Remote pipeline
? Pipeline name: taxprofiler
INFO     NOTE: This tool ignores any pipeline parameter defaults overwritten by Nextflow config files or profiles

? Select release / branch: 1.0.1  [release]
INFO     Downloading workflow: nf-core/taxprofiler (('1.0.1', ['dev', '1.0.1', '1.0.0', 'dev', 'donotdelete-pep-backup', 'feat/nf-tests', 'feature/kreport2krona', 'ganon-fix-database-linking', 'krona-subworkflow', 'master', 'unit-tests', 'update-taxpasta-0.4.1']))
ERROR    Could not find pipeline: nf-core/taxprofiler (None)

System information

Nextflow version 23.04.3.5875
tools version 2.9

@alneberg alneberg added the bug Something isn't working label Aug 30, 2023
@alneberg alneberg self-assigned this Aug 30, 2023
@alneberg
Copy link
Member Author

Nevermind, this exact issue was fixed by #2375 .

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
None yet
Development

No branches or pull requests

1 participant