Skip to content

Use more snakemake syntax #5

@ASLeonard

Description

@ASLeonard

Can simply some lines with e.g. the example
subpath("results/test.txt", strip_suffix=".txt", with_suffix=".csv") # returns "results/test.csv"

return str(Path(path).with_suffix('').with_suffix(f'.tfrecord@{config["shards"]}.gz'))

There is a lot of collision on strings vs paths that need manual casting

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