Skip to content

Add test triggered at time-point without measurements#105

Merged
dweindl merged 8 commits intoPEtab-dev:mainfrom
sebapersson:condition_test
Dec 15, 2025
Merged

Add test triggered at time-point without measurements#105
dweindl merged 8 commits intoPEtab-dev:mainfrom
sebapersson:condition_test

Conversation

@sebapersson
Copy link
Contributor

Unlike the other test cases with non-initial PEtab conditions (0016 and 0022), this test case includes a condition that is triggered at a time point without any measurement values. I have confirmed that the output matches what is computed by PEtab.jl.

I believe this is important to test because many ODE solver libraries, unless configured otherwise, save model output immediately after an event/callback (e.g., diffrax in Jax). In this test, that behavior is not required, and if an importer always saves model output following a PEtab condition event, this test case may cause indexing issues when computing the model output.

Note, I added this as test-case 0028 so it can be merged following #104.

@sebapersson sebapersson requested a review from dweindl December 15, 2025 12:17
Copy link
Member

@dweindl dweindl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@sebapersson
Copy link
Contributor Author

I merged with main following #104 being merged, so this can now be merged into main.

@dweindl dweindl merged commit 5689168 into PEtab-dev:main Dec 15, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants