Mercurial > repos > bimib > cobraxy
diff COBRAxy/flux_simulation.py @ 139:74b383211ab5 draft
Uploaded
author | luca_milaz |
---|---|
date | Thu, 31 Oct 2024 18:52:16 +0000 |
parents | 41f35c2f0c7b |
children | accda943dfb9 |
line wrap: on
line diff
--- a/COBRAxy/flux_simulation.py Sat Oct 26 15:20:34 2024 +0000 +++ b/COBRAxy/flux_simulation.py Thu Oct 31 18:52:16 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.split('.')[0] + name = cell_name.rsplit('.', 1)[0] if ARGS.algorithm == 'OPTGP': OPTGP_sampler(model_input, name, ARGS.n_samples, ARGS.thinning, ARGS.n_batches, ARGS.seed)