Skip to content

Workflow fails on Snakemake 8.x #1114

@ggonnella

Description

@ggonnella

Current Behavior

InputFunctionException in rule colors in file /home/erik/ncov/workflow/snakemake_rules/main_workflow.smk, line 1097:
Error:
  TypeError: unsupported operand type(s) for /: 'method' and 'int'
Wildcards:
  build_name=Cambodian_build
Traceback:
  File "/home/erik/ncov/workflow/snakemake_rules/main_workflow.smk", line 1114, in <lambda> (rule colors, line 2221, /home/erik/ncov/workflow/snakemake_rules/main_workflow.smk)

Expected behavior
No errors

Your environment: if running Nextstrain locally

  • Operating system: Linux
  • Browser: Chrome
  • Version (e.g. auspice 2.7.0): auspice 2.54.1; nextclade2 2.14.0; nextalign 2.14.0; pangolin 1.1.5; pangolearn 2022.03.22

Additional context
After updating to the latest version of the pipeline (we run it in "ambient" mode), the error appears, when we are running nextstrain build. The latest version we had installed was in last December. Can you give an indication what could be the problem?

Metadata

Metadata

Assignees

Labels

revisit sometimeUseful to address but no bandwidth at the moment

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions