Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explanation snakemake params usage #4958

Closed
PrometheusPi opened this issue Jun 24, 2024 · 1 comment · Fixed by #5104 · May be fixed by #5111
Closed

Explanation snakemake params usage #4958

PrometheusPi opened this issue Jun 24, 2024 · 1 comment · Fixed by #5104 · May be fixed by #5111
Assignees
Labels
component: tools scripts, python libs and CMake documentation regarding documentation or wiki discussions

Comments

@PrometheusPi
Copy link
Member

The documentation of how to use snakemake contains the following statement:

The parameters set with the params keyword, can be accessed in your python script via snakemake.params[i] or snakemake.params.name_of_param. Accordingly one can use snakemake.input or snakemake.output.

This is great to use in python, but intrinsically these parameters are of a snakemake specify type and need casting before usage. Perhaps that should be added to the documentation.

@PrometheusPi PrometheusPi added documentation regarding documentation or wiki discussions component: tools scripts, python libs and CMake labels Jun 24, 2024
@PrometheusPi PrometheusPi added this to the 0.8.0 / Next stable milestone Jun 24, 2024
@JessicaTiebel
Copy link
Contributor

For me this issue never occured. Every time I used this, the snakemake intrinsic casting worked just fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: tools scripts, python libs and CMake documentation regarding documentation or wiki discussions
Projects
None yet
2 participants