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

Specifying conda directive within Snakefile (and even before imports) should be supported #243

Closed
hermidalc opened this issue Jul 25, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@hermidalc
Copy link

hermidalc commented Jul 25, 2024

With Snakemake you can now specify the conda directive in your Snakefile even before imports to specify global workflow dependencies and environment. https://snakemake.readthedocs.io/en/stable/snakefiles/deployment.html#global-workflow-dependencies

When I define this directive snakefmt thinks it's an error:

InvalidPython: Black error:
Cannot parse: 7:6: conda:
@mbhall88 mbhall88 added the enhancement New feature or request label Jul 26, 2024
@mbhall88
Copy link
Member

This is a duplicate of #209

Global use of conda: was added in v8.0, so will have to wait until we support v8.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants