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

Cannot cancel during nf-core modules create prompt mode #1237

Closed
jfy133 opened this issue Jul 28, 2021 · 1 comment
Closed

Cannot cancel during nf-core modules create prompt mode #1237

jfy133 opened this issue Jul 28, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@jfy133
Copy link
Member

jfy133 commented Jul 28, 2021

Description of the bug

When going through the nf-core modules create prompt dialog, you are unable ot cancel with ctrl + conce you get to theProcess resource label` question.

Steps to reproduce

$  nf-core modules create -a @jfy133 -n -c malt=0.5.2 malt -f

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

    nf-core/tools version 2.1



INFO     Press enter to use default values (shown in brackets) or type your own responses. ctrl+click underlined text to open links.                                                                   create.py:83
INFO     Using Bioconda package: 'bioconda::malt=0.5.2=0.41'                                                                                                                                          create.py:145
INFO     Could not find a Docker/Singularity container (Unexpected response code `204` for https://api.biocontainers.pro/ga4gh/trs/v2/tools/malt=0.5.2/versions/malt=0.5.2-0.41)                      create.py:172
INFO     Provide an appropriate resource label for the process, taken from the nf-core pipeline template.                                                                                             create.py:199
         For example: process_low, process_medium, process_high, process_long                                                                                                                                      
? Process resource label: process_low                                                                                                                                                                              

Cancelled by user

? Process resource label: process_low                                                                                                                                                                              

Cancelled by user

? Process resource label: process_low                                                                                                                                                                              

Cancelled by user

? Process resource label: process_low


Expected behaviour

Should cancel and NOT create any files

@ErikDanielsson
Copy link
Contributor

Closing due to the merge of #1241.

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

2 participants