Mercurial > repos > bimib > marea_2_0
changeset 199:c298efdfe431 draft
Uploaded
author | luca_milaz |
---|---|
date | Fri, 05 Jul 2024 07:19:07 +0000 |
parents | ecd1b2ae80c6 |
children | 17f7f2aef0d3 |
files | marea_2_0/flux_sampling.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/marea_2_0/flux_sampling.py Fri Jul 05 07:16:07 2024 +0000 +++ b/marea_2_0/flux_sampling.py Fri Jul 05 07:19:07 2024 +0000 @@ -130,7 +130,7 @@ CBS_backend.randomObjectiveFunctionSampling(model, n_samples, df_coefficients.iloc[:,i*n_samples:(i+1)*n_samples], samples) except Exception as e: utils.logWarning( - "Warning: GLPK solver has failed for " + model_name + ". Trying with COBRA interface. Error:" + e, + "Warning: GLPK solver has failed for " + model_name + ". Trying with COBRA interface. Error:" + str(e), ARGS.out_log) CBS_backend.randomObjectiveFunctionSampling_cobrapy(model, n_samples, df_coefficients.iloc[:,i*n_samples:(i+1)*n_samples], samples)