File tree Expand file tree Collapse file tree 4 files changed +13
-9
lines changed
Expand file tree Collapse file tree 4 files changed +13
-9
lines changed Original file line number Diff line number Diff line change @@ -28,8 +28,9 @@ classifiers =
2828 Intended Audience :: Science/Research
2929 License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)
3030 Operating System :: OS Independent
31- Programming Language :: Python :: 3.8
32- Programming Language :: Python :: 3.9
31+ Programming Language :: Python :: 3.11
32+ Programming Language :: Python :: 3.12
33+
3334 Programming Language :: Python :: Implementation :: CPython
3435 Topic :: Scientific/Engineering
3536 Topic :: Scientific/Engineering :: Bio-Informatics
@@ -49,8 +50,8 @@ zip_safe = True
4950python_requires = >=3.11
5051install_requires =
5152 sbmlutils>=0.8.7
52- numpy>=1.26.4
53- libroadrunner>=2.7 .0
53+ numpy>=2.2
54+ libroadrunner>=2.8 .0
5455 scipy>=1.12.0
5556 pint>=0.23
5657
Original file line number Diff line number Diff line change @@ -108,8 +108,11 @@ def f_fitexp(
108108
109109 return fit_experiments
110110
111+
111112def filter_empty (fit_mapping_key : str , fit_mapping : FitMapping ) -> bool :
112113 """Return all experiments/mappings."""
113114 return True
114115
115-
116+ def filter_outlier (fit_mapping_key : str , fit_mapping : FitMapping ) -> bool :
117+ """Return non outlier experiments."""
118+ return not fit_mapping .metadata .outlier
Original file line number Diff line number Diff line change @@ -224,8 +224,8 @@ def __init__(
224224 self ,
225225 pid : str ,
226226 start_value : float = None ,
227- lower_bound : float = - np .Inf ,
228- upper_bound : float = np .Inf ,
227+ lower_bound : float = - np .inf ,
228+ upper_bound : float = np .inf ,
229229 unit : str = None ,
230230 ):
231231 """Initialize FitParameter.
Original file line number Diff line number Diff line change @@ -43,8 +43,8 @@ class RuntimeErrorOptimizeResult:
4343 status : str = "-1"
4444 success : bool = False
4545 duration : float = - 1.0
46- cost : float = np .Inf
47- optimality : float = np .Inf
46+ cost : float = np .inf
47+ optimality : float = np .inf
4848
4949
5050class OptimizationProblem (ObjectJSONEncoder ):
You can’t perform that action at this time.
0 commit comments