Skip to content

Commit

Permalink
Merge pull request #377 from latchbio/rahuldesai1/snakemake/change-de…
Browse files Browse the repository at this point in the history
…fault-env-to-false

set conda and containers to be false by default
  • Loading branch information
ayushkamat authored Jan 20, 2024
2 parents c969339 + 31731e0 commit bca43df
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/source/snakemake/environments.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ SnakemakeMetadata(
)
```

If there is no `env_config` defined, Snakemake tasks on Latch will use both containers and conda environments by default.
If there is no `env_config` defined, Snakemake tasks on Latch will NOT use containers or conda environments by default.

## Using Private Container Registries

Expand Down
4 changes: 2 additions & 2 deletions latch/types/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -539,11 +539,11 @@ class DockerMetadata:
class EnvironmentConfig:
"""Class describing environment for spawning Snakemake tasks"""

use_conda: bool = True
use_conda: bool = False
"""
Use Snakemake `conda` directive to spawn tasks in conda environments
"""
use_container: bool = True
use_container: bool = False
"""
Use Snakemake `container` directive to spawn tasks in Docker containers
"""
Expand Down

0 comments on commit bca43df

Please sign in to comment.