Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update PEtab tutorial #1119

Merged
merged 5 commits into from
Nov 17, 2024
Merged

Update PEtab tutorial #1119

merged 5 commits into from
Nov 17, 2024

Conversation

sebapersson
Copy link
Contributor

Checklist

  • Appropriate tests were added
  • Any code changes were done in a way that does not break public API
  • All documentation related to code changes were updated
  • The new code follows the
    contributor guidelines, in particular the SciML Style Guide and
    COLPRAC.
  • Any new documentation only uses public API

Additional context

I have updated the code in the PEtab tutorial and added it again to the documentation. The tutorial runs locally for me, but I have problem to precompile the doc environment due to BifurcationKit (which is why the doc runs might fail).

@isaacsas
Copy link
Member

Thanks! Yeah, tests and docs are all broken in different ways (docs are I think from changes in MTK). Once that stuff gets fixed I'll rebase this so that hopefully docs can build.

@sebapersson
Copy link
Contributor Author

Great, thanks!

@isaacsas
Copy link
Member

@sebapersson seems there is an error in the tutorial?

@sebapersson
Copy link
Contributor Author

I have updated the tutorial to address the minor bugs. The current failure seems unrelated to PEtab, but I do not know why the doc build fails.

@isaacsas isaacsas closed this Nov 17, 2024
@isaacsas isaacsas reopened this Nov 17, 2024
@isaacsas
Copy link
Member

xvfb just randomly fails on GitHub Actions for some reason, but we need it for GLMakie.

@isaacsas
Copy link
Member

This looks like a real failure in the tutorial.

@sebapersson
Copy link
Contributor Author

The docs should work now :)


## [Additional features: Initial conditions](@id petab_simulation_initial_conditions)

### [Fitting initial conditions](@id petab_simulation_initial_conditions_fitted)
Sometimes, initial conditions are uncertain quantities which we wish to fit to the data. This is possible by [defining an initial condition as a parameter](@ref dsl_description_parametric_initial_conditions):
Copy link
Member

Choose a reason for hiding this comment

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

any reason to remove this? Seems like a relevant reference?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It failed the link check when building before (thought it had been removed), but that might actually been due to something else (as I can actually find the @id block in the code). I agree, I will add it back.

Copy link
Member

Choose a reason for hiding this comment

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

Seems like an excellent reason to remove it. Yes, the link should be dsl_advanced_options_parametric_initial_conditions. Probably got changed while PEtab doc was disabled so this wasn't caught somehow.

Copy link
Member

Choose a reason for hiding this comment

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

Ok, seems you found the new link as well

@isaacsas isaacsas merged commit 54b8166 into SciML:master Nov 17, 2024
1 check passed
@isaacsas
Copy link
Member

@sebapersson thanks for the updates!

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.

3 participants