Mercurial > repos > bimib > cobraxy
changeset 139:74b383211ab5 draft
Uploaded
author | luca_milaz |
---|---|
date | Thu, 31 Oct 2024 18:52:16 +0000 |
parents | ea9175172935 |
children | 63cb32c3d8b1 |
files | COBRAxy/flux_simulation.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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)