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

Bugfix Release 1.2.1 #98

Merged
merged 7 commits into from
May 10, 2024
Merged

Bugfix Release 1.2.1 #98

merged 7 commits into from
May 10, 2024

Conversation

jmrohwer
Copy link
Member

@jmrohwer jmrohwer commented May 8, 2024

I have fixed a bug in model evaluation where a model has events and assignment rules, and the assignment rule contains a variable name and a parameter where the variable is a substring match of the parameter (e.g. E1 and E1tot), this led to garbage code during string replacements.

I would like to push this release asap in order to get the Biosimulators pipeline fixed, which currently breaks on this bug (see biosimulators/Biosimulators_PySCeS#6).

The other issue under Milestones for 1.2.1 has been fixed. If there are small things that should be fixed and can be done so relatively quickly, that can be discussed here.

mod._CVODE_extra_output is obtained by getting data from mod.data_sim.
Some symbol replacements were incorrect due to substring matching,
leading to garbage code, e.g. when a symbol was a substring of a
model parameter that also featured in the assignment rule.
@jmrohwer jmrohwer self-assigned this May 8, 2024
@jmrohwer jmrohwer requested a review from bgoli May 8, 2024 09:32
Copy link
Member

@bgoli bgoli left a comment

Choose a reason for hiding this comment

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

Had a look at the commits and all looks good to go.

@jmrohwer jmrohwer merged commit 865c8fc into main May 10, 2024
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