You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Inclusion of any rules with conda: specifications raises a TypeError when running snakemake --containerize.
The introduction of LocalSourceFile class in v6.8.1 appears to be incompatible with the use of os.path.relpath(env.file, os.getcwd()) in the containerize code.
Snakemake version
Bug appears to be introduced in v6.8.1.
Describe the bug
Inclusion of any rules with
conda:
specifications raises aTypeError
when runningsnakemake --containerize
.The introduction of
LocalSourceFile
class in v6.8.1 appears to be incompatible with the use ofos.path.relpath(env.file, os.getcwd())
in thecontainerize
code.Logs
Minimal example
Please see snakemake/snakemake-github-action#17.
Additional context
Recommended Solution
The
LocalSourceCode
class should implementos.PathLike
, which entails implementing an__fspath__()
method that returns astr
. Seeos.PathLike
.A test case should be added to catch regression.
The text was updated successfully, but these errors were encountered: