In Snakemake you normally do something like this
rule my_rule:
input:
"some/input"
output:
"some/output"
conda:
"a/conda/env.yml"
script:
"some/script.py"
when the workflow is launched a new conda env will be created under .snakemake/conda/xxx where xxx is a hash created by snakemake (kind of a name)
Now I was hoping that doing this in .vscode/settings.json was enough,
{
....
"python-envs.workspaceSearchPaths": [".snakemake/conda/**"],
....
}
But then when I e.g. open a jupyter notebook from VSCode I do not see any of those envs (neither as simple envs nor as kernels as all of them have also ipykernel installed)
Am I missing something?
In Snakemake you normally do something like this
when the workflow is launched a new conda env will be created under
.snakemake/conda/xxxwherexxxis a hash created by snakemake (kind of a name)Now I was hoping that doing this in
.vscode/settings.jsonwas enough,{ .... "python-envs.workspaceSearchPaths": [".snakemake/conda/**"], .... }But then when I e.g. open a jupyter notebook from VSCode I do not see any of those envs (neither as simple envs nor as kernels as all of them have also
ipykernelinstalled)Am I missing something?