Skip to content

Update python and snakemake versions #1

Open
@nh13

Description

@nh13

We'll need to fix this for loop as snakemake added a "Job Stats" line: https://github.com/fulcrumgenomics/python-snakemake-skeleton/blob/36238b503927dabeeadf3745a051fb6634dadf3a/src/python/pyclient/tests/util.py#L33

fix:

        def fn(d: Dict[str, Any]) -> None:
            if d["level"] != "run_info":
                return
            # NB: skip the first three and two lines
            for counts_line in d["msg"].split("\n")[3:-2]:
                counts_line = counts_line.strip()
                job, count, _, _ = counts_line.split()
                assert int(count) > 0, counts_line

                self.rule_count[job] += int(count)

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