biosimulators / Biosimulators_utils

Utilities for building standardized command-line interfaces for biosimulation software packages
https://docs.biosimulators.org/Biosimulators_utils
MIT License
4 stars 6 forks source link

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

Closed luciansmith closed 1 month ago

luciansmith commented 1 month ago

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.

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

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

Additional details and impacted files ```diff @@ 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](https://app.codecov.io/gh/biosimulators/Biosimulators_utils/pull/155/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=biosimulators) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/biosimulators/Biosimulators_utils/pull/155/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=biosimulators) | `88.83% <100.00%> (+0.01%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=biosimulators#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

sonarcloud[bot] commented 1 month ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

sonarcloud[bot] commented 1 month ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud