changeset 463:b06b28b94ae3 draft

Uploaded
author luca_milaz
date Mon, 22 Sep 2025 13:54:43 +0000
parents 227a1031ae47
children 0559829e7117
files COBRAxy/flux_simulation_beta.xml
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/COBRAxy/flux_simulation_beta.xml	Mon Sep 22 13:51:43 2025 +0000
+++ b/COBRAxy/flux_simulation_beta.xml	Mon Sep 22 13:54:43 2025 +0000
@@ -44,16 +44,17 @@
             --algorithm $sampling_params.algorithm_param.algorithm
             --n_batches $sampling_params.n_batches
             --n_samples $sampling_params.n_samples
+            --seed $sampling_params.seed
             --output_type "${",".join(map(str, $sampling_params.output_types))}"
         #else:
             --thinning 0
             --algorithm CBS
             --n_batches 1
             --n_samples 0
+            --seed 0
             --output_type "mean"
         #end if
         
-        --seed $seed
         --output_type_analysis "${",".join(map(str, $output_types_analysis))}"
         
         #if 'FVA' in str($output_types_analysis):
@@ -114,11 +115,11 @@
                     <option value="quantiles" selected="false">Quantiles</option>
                     <option value="fluxes" selected="false">All fluxes</option>
                 </param>
+
+                <param name="seed" argument="--seed" type="integer" label="Seed:" value="0" help="Random seed for sampling algorithms."/>
             </when>
         </conditional>
 
-        <param name="seed" argument="--seed" type="integer" label="Seed:" value="0" help="Random seed."/>
-
         <param type="select" argument="--output_types_analysis" multiple="true" name="output_types_analysis" label="Desired outputs from optimization">
             <option value="pFBA" selected="false">pFBA</option>
             <option value="FVA" selected="true">FVA</option>