# HG changeset patch # User luca_milaz # Date 1730408098 0 # Node ID accda943dfb9ef48fd8b411d02b0c2319068cdf3 # Parent 726e1dc71f032e525d1b9df68f8c51a4cbfa6af1 Uploaded diff -r 726e1dc71f03 -r accda943dfb9 COBRAxy/flux_simulation.py --- a/COBRAxy/flux_simulation.py Thu Oct 31 19:53:20 2024 +0000 +++ b/COBRAxy/flux_simulation.py Thu Oct 31 20:54:58 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.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)