diff --git a/flepimop/gempyor_pkg/src/gempyor/inference_parameter.py b/flepimop/gempyor_pkg/src/gempyor/inference_parameter.py index a9e910549..2244748ce 100644 --- a/flepimop/gempyor_pkg/src/gempyor/inference_parameter.py +++ b/flepimop/gempyor_pkg/src/gempyor/inference_parameter.py @@ -65,8 +65,8 @@ def add_modifier(self, pname, ptype, parameter_config, subpops): pname=pname, subpop=",".join(group), pdist=parameter_config["value"].as_random_distribution(), - lb=float(parameter_config["value"]["a"].get()), - ub=float(parameter_config["value"]["b"].get()), + lb=parameter_config["value"]["a"].get(float), + ub=parameter_config["value"]["b"].get(float), ) def add_single_parameter(self, ptype, pname, subpop, pdist, lb, ub):