Skip to content

Build name wildcard does not support numbers #482

@huddlej

Description

@huddlej

Current Behavior

@rneher points out that build names cannot currently have numbers in them or Snakemake will produce an error that is difficult to interpret. These errors are caused by the overly strict build name wildcard constraints.

Expected behavior

We should support numbers in build names, especially for cases when we want to place dates in the build name (e.g., for historical builds of specific time periods).

Possible solution

Changing the current constraints regex to build_name = r'(?:[_a-zA-Z0-9-](?!(tip-frequencies|gisaid|zh)))+' should fix the problem. I have not tested this yet though to confirm.

Metadata

Metadata

Assignees

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