admin管理员组

文章数量:1345055

When injecting into the Python environment running snakemake using the

conda:
  "envs/global.yaml"

directive as described here, can I pin the exact environment using a envs/global.<platform>.pin.txt file as described here?


Context:

When adding envs/foo.{platform}.pin.txt for an environment activated via

rule foo:
   conda: "envs/foo.yaml"
   ...

to a specific rule as described here, running

snakemake -n1 foo

prints the following informative messages:

...
Creating conda environment <path>/envs/foo.yaml...
Using pinnings from <path>/envs/foo.{platform}.pin.txt.
...

However, for the 'global' environment (see above) there is no such message to indicate whether envs/global.<platform>.pin.txt is being considered or not.

本文标签: Can I pin the 39global39 conda environment in SnakemakeStack Overflow