From 56bfabbdccd35aac53ddb1e35003028efd56c4fa Mon Sep 17 00:00:00 2001 From: nefrathenrici Date: Mon, 8 Jul 2024 16:02:44 -0700 Subject: [PATCH] Export useful things --- src/backends.jl | 2 ++ src/ekp_interface.jl | 3 ++- src/model_interface.jl | 1 + src/slurm.jl | 2 ++ 4 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/backends.jl b/src/backends.jl index 6c9bfa3a..a450d2a1 100644 --- a/src/backends.jl +++ b/src/backends.jl @@ -1,3 +1,5 @@ +export get_backend, calibrate + abstract type AbstractBackend end struct JuliaBackend <: AbstractBackend end diff --git a/src/ekp_interface.jl b/src/ekp_interface.jl index bd1c811e..7b778d84 100644 --- a/src/ekp_interface.jl +++ b/src/ekp_interface.jl @@ -6,7 +6,8 @@ import EnsembleKalmanProcesses as EKP using EnsembleKalmanProcesses.ParameterDistributions using EnsembleKalmanProcesses.TOMLInterface -export ExperimentConfig +export ExperimentConfig, get_prior, initialize, update_ensemble, save_G_ensemble +export path_to_ensemble_member, path_to_model_log, path_to_iteration """ ExperimentConfig( diff --git a/src/model_interface.jl b/src/model_interface.jl index 46406cc4..f0bc50f4 100644 --- a/src/model_interface.jl +++ b/src/model_interface.jl @@ -1,6 +1,7 @@ import EnsembleKalmanProcesses as EKP import YAML +export set_up_forward_model, run_forward_model, observation_map """ set_up_forward_model(member, iteration, experiment_dir::AbstractString) diff --git a/src/slurm.jl b/src/slurm.jl index 77074487..fb394052 100644 --- a/src/slurm.jl +++ b/src/slurm.jl @@ -1,3 +1,5 @@ +export kwargs, sbatch_model_run, wait_for_jobs + kwargs(; kwargs...) = Dict{Symbol, Any}(kwargs...) """