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

Skip to content

nf-core modules lint fails when using new container registry #2280

@drpatelh

Description

@drpatelh

Description of the bug

Running the following command in a clone of nf-core/modules raises an error because the container isn't reachable. Presumably this is because the docker.registry isn't being factored into the check @adamrtalbot ?

$ nf-core modules lint cat/fastq


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

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


INFO     Linting modules repo: '.'                                                                                                                                    
INFO     Linting module: 'cat/fastq'                                                                                                                                  

╭─ [✗] 1 Module Test Failed ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│                                           ╷                                   ╷                                                                                    │
│ Module name                               │ File path                         │ Test message                                                                       │
│╶──────────────────────────────────────────┼───────────────────────────────────┼───────────────────────────────────────────────────────────────────────────────────╴│
│ cat/fastq                                 │ modules/nf-core/cat/fastq/main.nf │ Unable to connect to container URL                                                 │
│                                           ╵                                   ╵                                                                                    │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭───────────────────────╮
│ LINT RESULTS SUMMARY  │
├───────────────────────┤
│ [✔]  24 Tests Passed  │
│ [!]   0 Test Warnings │
│ [✗]   1 Test Failed   │
╰───────────────────────╯
(

Metadata

Metadata

Assignees

No one assigned

    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