sig
type conda_version_type = [ `Latest | `Version of string ]
type conda_environment_type = private {
name : string;
python_version : [ `Python2 | `Python3 ];
channels : string list;
base_packages :
(string * Biokepi_environment_setup.??.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 * Biokepi_environment_setup.??.conda_version_type)
list ->
?banned_packages:string list ->
?main_subdir:string ->
?envs_subdir:string ->
?python_version:[ `Python2 | `Python3 ] ->
string -> string -> Biokepi_environment_setup.??.conda_environment_type
val configured :
conda_env:Biokepi_environment_setup.??.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:Biokepi_environment_setup.??.conda_environment_type ->
unit -> Biokepi_run_environment.Common.KEDSL.Program.t
val deactivate_env :
conda_env:Biokepi_environment_setup.??.conda_environment_type ->
unit -> Biokepi_run_environment.Common.KEDSL.Program.t
val environment_path :
conda_env:Biokepi_environment_setup.??.conda_environment_type -> string
end