File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -859,6 +859,8 @@ class Parameter(BaseModel):
859859 scale : ParameterScale = Field (
860860 alias = C .PARAMETER_SCALE , default = ParameterScale .LIN
861861 )
862+ # TODO: change to bool in PEtab, or serialize as 0/1?
863+ # https://github.com/PEtab-dev/PEtab/discussions/610
862864 #: Is the parameter to be estimated?
863865 estimate : bool = Field (alias = C .ESTIMATE , default = True )
864866
Original file line number Diff line number Diff line change 11import logging
2- import tempfile
32
43import pytest
54
@@ -37,10 +36,10 @@ def test_benchmark_collection(problem_id):
3736 logging .basicConfig (level = logging .DEBUG )
3837
3938 if problem_id == "Froehlich_CellSystems2018" :
39+ # this is mostly about 6M sympifications in the condition table
4040 pytest .skip ("Too slow. Re-enable once we are faster." )
4141
4242 yaml_path = benchmark_models_petab .get_problem_yaml_path (problem_id )
43- with tempfile .TemporaryDirectory (
44- prefix = f"test_petab1to2_{ problem_id } "
45- ) as tmpdirname :
46- petab1to2 (yaml_path , tmpdirname )
43+ problem = petab1to2 (yaml_path )
44+ assert isinstance (problem , Problem )
45+ assert len (problem .measurement_table .measurements )
You can’t perform that action at this time.
0 commit comments