Skip to content

invalid job name given to groups with more than 5 rules #55

@Psirving

Description

@Psirving

When I submit a workflow where a group contains more than 5 jobs, I get the following error:

google.api_core.exceptions.InvalidArgument: 400 resource labels are invalid: value "groupid_2_3_4_5_6_..." contains invalid character '.' at index 18 for key "snakemake-job"

Just for this example, I'm using anonymous rules rule:, and group: "groupid", but it does the same for sensically named rules, just replacing the numbers with rule names. Line 59 in executor.py: labels={"snakemake-job": job.name}. I think job.name comes from Snakemake, so I thought the executor should handle this specific case.

Please, let me know if there's a work around for my use case.

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