JetBrains-Research / snakecharm

Plugin for PyCharm / IntelliJ IDEA Platform IDEs which adds support for Snakemake language.
MIT License
61 stars 7 forks source link

Inspection: not all syntax is allowed in sections with `cache:` directive #472

Open iromeo opened 2 years ago

iromeo commented 2 years ago

Also note that the rules need to retrieve all their parameters via the params directive (except input files). It is not allowed to directly use wildcards, config or any global variable in the shell command or script, because these are not captured in the hash (otherwise, reuse would be unnecessarily limited).

see https://snakemake.readthedocs.io/en/stable/executing/caching.html?highlight=cache%3A#between-workflow-caching

So we need an inspection for shell