module Conda: sig
.. end
type
conda_version_type = [ `Latest | `Version of string ]
type
conda_environment_type = {
|
name : string ; |
|
python_version : [ `Python2 | `Python3 ] ; |
|
channels : string list ; |
|
base_packages : (string * conda_version_type) list ; |
|
banned_packages : string list ; |
|
install_path : string ; |
|
main_subdir : string ; |
|
envs_subdir : string ; |
}
val setup_environment : ?custom_channels:string list ->
?base_packages:(string * conda_version_type)
list ->
?banned_packages:string list ->
?main_subdir:string ->
?envs_subdir:string ->
?python_version:[ `Python2 | `Python3 ] ->
string -> string -> conda_environment_type
val environment_path : conda_env:conda_environment_type -> string
val configured : conda_env:conda_environment_type ->
run_program:Biokepi_run_environment.Machine.Make_fun.t ->
host:Biokepi_run_environment.Common.KEDSL.Host.t ->
< is_done : Biokepi_run_environment.Common.KEDSL.Condition.t option >
Biokepi_run_environment.Common.KEDSL.workflow_node
val init_env : conda_env:conda_environment_type ->
unit -> Biokepi_run_environment.Common.KEDSL.Program.t
val deactivate_env : conda_env:conda_environment_type ->
unit -> Biokepi_run_environment.Common.KEDSL.Program.t