Rayane ELMEDJADJI
05/16/2025, 9:14 AMCRITICAL list index out of range. I would like to know what am I doing wrong
Slack conversationJames Fellows Yates
05/16/2025, 9:21 AMSlackbot
05/16/2025, 9:21 AM.nextflow.log file, where you are running the analysis.
Remember to use triple backslashes on their own lines for code blocks.
Also take a look at https://nf-co.re/usage/troubleshooting for more information on debugging failed pipelines. Thanks!James Fellows Yates
05/16/2025, 9:21 AMRayane ELMEDJADJI
05/16/2025, 9:25 AMJames Fellows Yates
05/16/2025, 9:25 AMRayane ELMEDJADJI
05/16/2025, 9:26 AMJames Fellows Yates
05/16/2025, 9:26 AMRayane ELMEDJADJI
05/16/2025, 9:32 AMJames Fellows Yates
05/16/2025, 9:32 AMJames Fellows Yates
05/16/2025, 9:32 AMRayane ELMEDJADJI
05/16/2025, 9:34 AMJames Fellows Yates
05/16/2025, 9:34 AMNiklas Schandry
05/16/2025, 9:44 AMnf-core modules install <name> into the pipeline you are working on, and then use them in there. The extra effort of going via nf-core/modules makes your modules more broadly available for other nextflow pipeline developers, and also means that any updates to the module files can easily be propagated across pipelines, since they can all pull from the same modules repoRayane ELMEDJADJI
05/16/2025, 9:46 AMNiklas Schandry
05/16/2025, 9:46 AMRayane ELMEDJADJI
05/16/2025, 12:06 PMRayane ELMEDJADJI
05/16/2025, 12:07 PMfrom paralleltask import Task │
│ ModuleNotFoundError: No module named 'paralleltask'Rayane ELMEDJADJI
05/16/2025, 12:07 PMchannels:
- conda-forge
- bioconda
dependencies:
- bioconda::nextdenovo=2.5.2
- conda-forge::paralleltask=0.1.1Rayane ELMEDJADJI
05/16/2025, 12:08 PMNiklas Schandry
05/16/2025, 12:36 PMRayane ELMEDJADJI
05/16/2025, 1:21 PMRayane ELMEDJADJI
05/16/2025, 1:39 PMcontainer "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
'https://community-cr-prod.seqera.io/docker/registry/v2/blobs/sha256/fa/fa1c1e961de38d24cf36c424a8f4a9920ddd07b63fdb4cfa51c9e3a593c3c979/data' :
'community.wave.seqera.io/library/flye:2.9.5--d577924c8416ccd8' }"Rayane ELMEDJADJI
05/16/2025, 1:39 PMNiklas Schandry
05/16/2025, 2:04 PMNiklas Schandry
05/16/2025, 2:05 PMNiklas Schandry
05/16/2025, 2:20 PMnf-core module create it should ask you for the tool name and will try to find a suitable containerRayane ELMEDJADJI
05/16/2025, 2:24 PMRayane ELMEDJADJI
05/16/2025, 4:08 PMRayane ELMEDJADJI
05/16/2025, 4:09 PMRayane ELMEDJADJI
05/16/2025, 4:09 PMNiklas Schandry
05/19/2025, 7:09 AMconda install -c conda-forge -c bioconda nextdenovo==2.5.0--py39h20169af_0 and it does not work correctly?Niklas Schandry
05/19/2025, 7:11 AMtests folder of your module it should be available for tests as ./<Filename>Rayane ELMEDJADJI
05/19/2025, 8:49 AMNiklas Schandry
05/19/2025, 8:49 AMRayane ELMEDJADJI
05/19/2025, 8:54 AM- conda-forge::paralleltask=0.1.1Rayane ELMEDJADJI
05/19/2025, 8:54 AMRayane ELMEDJADJI
05/19/2025, 8:57 AMNiklas Schandry
05/19/2025, 9:01 AMRayane ELMEDJADJI
05/19/2025, 9:05 AMNiklas Schandry
05/19/2025, 9:07 AMNiklas Schandry
05/19/2025, 9:07 AMRayane ELMEDJADJI
05/19/2025, 9:10 AMNiklas Schandry
05/19/2025, 9:10 AMNiklas Schandry
05/19/2025, 9:11 AMRayane ELMEDJADJI
05/19/2025, 9:13 AMbiocontainers/nextdenovo:2.5.2--py310h0ceaa1d_6Rayane ELMEDJADJI
05/19/2025, 9:13 AMRayane ELMEDJADJI
05/19/2025, 9:14 AMconda install conda-forge::paralleltask in my terminal, it worksNiklas Schandry
05/19/2025, 9:19 AMconda-forge::paralleltask in your env,yml it does not?Niklas Schandry
05/19/2025, 9:23 AMRayane ELMEDJADJI
05/19/2025, 9:26 AMNiklas Schandry
05/19/2025, 9:30 AMRayane ELMEDJADJI
05/19/2025, 9:45 AM// env yml
channels:
- conda-forge
- bioconda
dependencies:
- bioconda::nextdenovo=2.5.2
- pip
- python=3.8
- pip:
- paralleltask==0.1.1
// error message
The environment.yml of the module nextdenovo is not valid: 'pip' does not match '^.[^><]=[^><].$'.Niklas Schandry
05/19/2025, 9:45 AMNiklas Schandry
05/19/2025, 9:46 AMRayane ELMEDJADJI
05/19/2025, 9:47 AMRayane ELMEDJADJI
05/19/2025, 10:00 AMRayane ELMEDJADJI
05/19/2025, 10:05 AMTypeError: '<' not supported between instances of 'dict' and 'str' this might come from the fact that sorted(env_yml["dependencies"]) is failing to sort the env_yml[dependencies], this step is done i think when the yml is valid.Rayane ELMEDJADJI
05/19/2025, 10:07 AMRayane ELMEDJADJI
05/19/2025, 10:12 AMchannels:
- conda-forge
- bioconda
dependencies:
- bioconda::nextdenovo=2.5.2
- pip=23.3.1
- pip:
- paralleltask==0.1.1
- python=3.8Rayane ELMEDJADJI
05/19/2025, 10:19 AMyaml.load(file.yml) funciton will create a dict inside the env_yml["dependencies"] turning the
- pip:
- paralleltask==0.1.1
into
{'pip': ['paralleltask==0.1.1']}
And when the sorted() is called on env_yml["dependencies"] it will compare strings with a dictionnary which is not defined.
This is only a guess, i haven't really tested it but It might help you debug if you are looking to solve the bug.Rayane ELMEDJADJI
05/19/2025, 10:19 AMRayane ELMEDJADJI
05/20/2025, 2:14 PMNiklas Schandry
05/20/2025, 2:16 PMnf-core modules install in the pipeline directory to install the module into modules/nf-core . I guess for the details on how to add it then into the particular pipeline it would make sense to discuss in #genomeassemblerRayane ELMEDJADJI
05/20/2025, 2:20 PMRayane ELMEDJADJI
05/22/2025, 2:24 PMNiklas Schandry
05/22/2025, 2:27 PMNiklas Schandry
05/22/2025, 2:27 PMNiklas Schandry
05/22/2025, 2:27 PMNiklas Schandry
05/22/2025, 2:27 PMRayane ELMEDJADJI
05/22/2025, 2:28 PMRayane ELMEDJADJI
05/26/2025, 9:03 AMNiklas Schandry
05/26/2025, 11:19 AMRayane ELMEDJADJI
05/26/2025, 11:27 AMNiklas Schandry
05/26/2025, 11:28 AMMaxime Garcia
05/26/2025, 11:30 AMMaxime Garcia
05/26/2025, 11:31 AMNiklas Schandry
05/26/2025, 11:32 AMMaxime Garcia
05/26/2025, 11:33 AMMaxime Garcia
05/26/2025, 11:34 AMMaxime Garcia
05/26/2025, 11:34 AMNiklas Schandry
05/26/2025, 11:34 AMNiklas Schandry
05/26/2025, 11:34 AMRayane ELMEDJADJI
05/26/2025, 11:35 AMNiklas Schandry
05/26/2025, 11:35 AMNiklas Schandry
05/26/2025, 11:35 AMRayane ELMEDJADJI
05/26/2025, 11:37 AMMaxime Garcia
05/26/2025, 11:38 AMSimon Pearce
05/26/2025, 12:04 PMmashehu
05/26/2025, 12:06 PMMaxime Garcia
05/26/2025, 12:06 PMRayane ELMEDJADJI
05/26/2025, 2:41 PMNiklas Schandry
05/26/2025, 2:44 PMRayane ELMEDJADJI
05/27/2025, 8:09 AM