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

SBML import - faster _get_list_of_species_references #2094

Merged
merged 1 commit into from
May 17, 2023

Conversation

dweindl
Copy link
Member

@dweindl dweindl commented May 17, 2023

Avoid iterating over all SBML elements.

Takes only 0.04%-0.4% of the time of the old implementation. Saves some seconds to minutes for larger models.

@dweindl dweindl requested a review from a team as a code owner May 17, 2023 12:53
@codecov
Copy link

codecov bot commented May 17, 2023

Codecov Report

Merging #2094 (4e44b92) into develop (06e7442) will decrease coverage by 0.02%.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #2094      +/-   ##
===========================================
- Coverage    76.11%   76.09%   -0.02%     
===========================================
  Files           80       80              
  Lines        14840    14840              
===========================================
- Hits         11295    11293       -2     
- Misses        3545     3547       +2     
Flag Coverage Δ
cpp 73.53% <ø> (-0.03%) ⬇️
petab 49.46% <ø> (ø)
python 76.87% <ø> (ø)
sbmlsuite ∅ <ø> (∅)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
python/sdist/amici/sbml_import.py 75.98% <ø> (ø)

... and 5 files with indirect coverage changes

Copy link
Member

@FFroehlich FFroehlich left a comment

Choose a reason for hiding this comment

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

👍

@dweindl dweindl enabled auto-merge May 17, 2023 14:05
@dweindl dweindl added this pull request to the merge queue May 17, 2023
@dweindl dweindl self-assigned this May 17, 2023
Merged via the queue into develop with commit d0a12c4 May 17, 2023
@dweindl dweindl deleted the faster_speciesrefs branch May 23, 2023 07:09
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