Mercurial > repos > bimib > cobraxy
diff COBRAxy/flux_simulation.py @ 171:f6bedfd54055 draft
Uploaded
author | luca_milaz |
---|---|
date | Tue, 19 Nov 2024 19:07:59 +0000 |
parents | 79d6d5ca91fd |
children | aa59a249ec07 |
line wrap: on
line diff
--- a/COBRAxy/flux_simulation.py Mon Nov 18 17:42:46 2024 +0000 +++ b/COBRAxy/flux_simulation.py Tue Nov 19 19:07:59 2024 +0000 @@ -238,7 +238,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)