Skip to content

snakefmt IndexError: list index out of range #112

@fgypas

Description

@fgypas

Hi

Thanks for building snakefmt. I just tried it with one repo and I have an issue.

More specifically I tried the following:

Install snakefmt via conda:

conda create -n snakefmt -c bioconda -c conda-forge snakefmt=0.4.1

Activate the virtual environment

conda activate snakefmt

Clone the dev branch of the following repo and enter the directory

git clone -b dev https://git.scicore.unibas.ch/zavolan_group/pipelines/zarp.git
cd zarp

Run snakefmt as following:

snakefmt workflow/

Then I get the following message:

IndexError: list index out of range

I don't know if I am doing something wrong or if it is a problem of snakefmt.

Thank you in advance for your help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions