# HG changeset patch # User luca_milaz # Date 1730400736 0 # Node ID 74b383211ab527640bd4104193ecaf7c31159120 # Parent ea9175172935bf48d6d0eda214f9d0fe3d0c08cc Uploaded diff -r ea9175172935 -r 74b383211ab5 COBRAxy/flux_simulation.py --- 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)