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
Can simply some lines with e.g. the example
subpath("results/test.txt", strip_suffix=".txt", with_suffix=".csv") # returns "results/test.csv"variant_calling/snakepit/deepvariant.smk
Line 14 in 4293502
There is a lot of collision on strings vs paths that need manual casting