# HG changeset patch # User luca_milaz # Date 1732043279 0 # Node ID f6bedfd54055563ca7cf819579040aa20dced36c # Parent 79d6d5ca91fd76b60c3981d10c72ab23c78e3f20 Uploaded diff -r 79d6d5ca91fd -r f6bedfd54055 COBRAxy/flux_simulation.py --- a/COBRAxy/flux_simulation.py Mon Nov 18 17:42:46 2024 +0000 +++ b/COBRAxy/flux_simulation.py Tue Nov 19 19:07:59 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.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)