Mercurial > repos > bimib > cobraxy
changeset 170:79d6d5ca91fd draft
Uploaded
author | luca_milaz |
---|---|
date | Mon, 18 Nov 2024 17:42:46 +0000 |
parents | d717f69d460e |
children | f6bedfd54055 |
files | COBRAxy/flux_simulation.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/COBRAxy/flux_simulation.py Mon Nov 18 17:34:52 2024 +0000 +++ b/COBRAxy/flux_simulation.py Mon Nov 18 17:42:46 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.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)