snakemake.deployment.conda.Env
- class snakemake.deployment.conda.Env(workflow, env_file=None, env_name=None, env_dir=None, container_img=None, cleanup=None)[source]
Conda environment from a given specification file.
- __init__(workflow, env_file=None, env_name=None, env_dir=None, container_img=None, cleanup=None)[source]
Methods
__init__
(workflow[, env_file, env_name, ...])check_is_file_based
()create
([dryrun])Create the conda environment.
create_archive
()Create self-contained archive of environment.
execute_deployment_script
(env_file, deploy_file)Execute post-deployment script if present
get_singularity_envvars
()Attributes
address
Path to directory of the conda environment.
address_argument
archive_file
Path to archive of the conda environment, which may or may not exist.
container_img_url
content
content_deploy
content_hash
content_pin
hash
is_containerized
is_named