Skip to content
New issue

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

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

Already on GitHub? # to your account

Allow the return of combined IDs for multi-id xpaths. #155

Merged
merged 12 commits into from
Oct 10, 2024

Conversation

luciansmith
Copy link
Contributor

This is so that an xpath for an SBML local parameter like

/sbml:sbml/sbml:model/sbml:listOfReactions/sbml:reaction[@id='J0']/sbml:kineticLaw/sbml:listOfParameters/sbml:parameter[@id='n']

can return

J0.n or J0_n

instead of just 'n'.

Backwards-compatible, so that existing code doesn't break.

This is so that an xpath for an SBML local parameter like

/sbml:sbml/sbml:model/sbml:listOfReactions/sbml:reaction[@id='J0']/sbml:kineticLaw/sbml:listOfParameters/sbml:parameter[@id='n']

can return

J0.n or J0_n

instead of just 'n'.

Backwards-compatible, so that existing code doesn't break.
Copy link

codecov bot commented Oct 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.83%. Comparing base (633bf8f) to head (fb037c3).
Report is 14 commits behind head on dev.

Additional details and impacted files
@@            Coverage Diff             @@
##              dev     #155      +/-   ##
==========================================
+ Coverage   88.81%   88.83%   +0.01%     
==========================================
  Files          89       89              
  Lines        9668     9678      +10     
==========================================
+ Hits         8587     8597      +10     
  Misses       1081     1081              
Flag Coverage Δ
unittests 88.83% <100.00%> (+0.01%) ⬆️

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

No good reason to do this; the problem was that we failed the 'sonarcloud' check because the namespace had http instead of https.  Sigh.
Copy link

Copy link

@luciansmith luciansmith merged commit 6596099 into dev Oct 10, 2024
11 checks passed
@luciansmith luciansmith deleted the combined_ids_for_multi_id_xpaths branch October 10, 2024 18:22
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants