changeset 187:ac2f0f079b89 draft

Uploaded
author luca_milaz
date Tue, 30 Jul 2024 18:59:34 +0000
parents d2952f4b1b3f
children 3e711b9fa866
files marea_2/flux_simulation.py
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/marea_2/flux_simulation.py	Tue Jul 30 18:51:24 2024 +0000
+++ b/marea_2/flux_simulation.py	Tue Jul 30 18:59:34 2024 +0000
@@ -167,6 +167,7 @@
             ARGS.out_log)
             CBS_backend.randomObjectiveFunctionSampling_cobrapy(model, n_samples, df_coefficients.iloc[:,i*n_samples:(i+1)*n_samples], 
                                                     samples)
+        utils.logWarning(ARGS.output_folder +  model_name + '_'+ str(i)+'_CBS.csv', ARGS.out_log)
         samples.to_csv(ARGS.output_folder +  model_name + '_'+ str(i)+'_CBS.csv', index=False)
 
     samplesTotal = pd.DataFrame()
@@ -316,9 +317,6 @@
 
     ARGS.output_folder = 'flux_simulation/'
     
-    utils.logWarning(
-        ARGS.output_type,
-        ARGS.out_log)
     
     model_type :utils.Model = ARGS.model_selector
     if model_type is utils.Model.Custom: