Skip to content

Snakemake workflow "inconsistent use of tabs and spaces in indentation" error ? #9

@jnesme

Description

@jnesme

Hi Jakob !
Trying to run the handy snakemake from reads to bins in MAGinator but I am soon hitting this problem which seems to be an odd Pythin syntax error :

snakemake --use-conda -s MAGinator/maginator/recommended_workflow/reads_to_bins.Snakefile --resources mem_gb=180 --config reads=reads.csv --cores 10 --printshellcmds

returns :

TabError in file <string>, line 308:
inconsistent use of tabs and spaces in indentation (<string>, line 308)
  File "/home/projects/ku_00041/apps/jnesme/miniconda3/envs/maginator/lib/python3.12/tokenize.py", line 541, in _generate_tokens_from_c_tokenizer
  File "/home/projects/ku_00041/apps/jnesme/miniconda3/envs/maginator/lib/python3.12/tokenize.py", line 537, in _generate_tokens_from_c_tokenizer

Do you have any idea if this is a simple fix or I should just run the recommended workflow stepwise ?
Best,
Joseph.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions