Mercurial > repos > bimib > cobraxy
diff COBRAxy/flux_simulation.py @ 142:accda943dfb9 draft
Uploaded
author | luca_milaz |
---|---|
date | Thu, 31 Oct 2024 20:54:58 +0000 |
parents | 74b383211ab5 |
children | 3fca9b568faf |
line wrap: on
line diff
--- a/COBRAxy/flux_simulation.py Thu Oct 31 19:53:20 2024 +0000 +++ b/COBRAxy/flux_simulation.py Thu Oct 31 20:54:58 2024 +0000 @@ -233,7 +233,7 @@ model_input.reactions.get_by_id(rxn_index).lower_bound = row.lower_bound model_input.reactions.get_by_id(rxn_index).upper_bound = row.upper_bound - name = cell_name.rsplit('.', 1)[0] + name = cell_name if ARGS.algorithm == 'OPTGP': OPTGP_sampler(model_input, name, ARGS.n_samples, ARGS.thinning, ARGS.n_batches, ARGS.seed)