Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

@alneberg

Description

@alneberg

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions