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

Add callbacks for setting, getting, and resetting. #145

Closed luciansmith closed 1 year ago

luciansmith commented 1 year ago

In order to implement support for more aspects of SED-ML (and to implement support for more basic SED-ML for non-XML languages), we need to let the simulators set and get model variables directly. This implements a support structure for such systems, that falls back to the current behavior.

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 87.64% and project coverage change: -0.11 :warning:

Comparison is base (ae0526d) 95.79% compared to head (54342ce) 95.69%.

:exclamation: Current head 54342ce differs from pull request most recent head b99416c. Consider uploading reports for the commit b99416c to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## dev #145 +/- ## ========================================== - Coverage 95.79% 95.69% -0.11% ========================================== Files 88 88 Lines 9402 9431 +29 ========================================== + Hits 9007 9025 +18 - Misses 395 406 +11 ``` | Flag | Coverage Δ | | |---|---|---| | unittests | `95.69% <87.64%> (-0.11%)` | :arrow_down: | 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. | [Impacted Files](https://app.codecov.io/gh/biosimulators/Biosimulators_utils/pull/145?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=biosimulators) | Coverage Δ | | |---|---|---| | [biosimulators\_utils/sedml/validation.py](https://app.codecov.io/gh/biosimulators/Biosimulators_utils/pull/145?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=biosimulators#diff-Ymlvc2ltdWxhdG9yc191dGlscy9zZWRtbC92YWxpZGF0aW9uLnB5) | `99.25% <ø> (-0.01%)` | :arrow_down: | | [biosimulators\_utils/sedml/exec.py](https://app.codecov.io/gh/biosimulators/Biosimulators_utils/pull/145?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=biosimulators#diff-Ymlvc2ltdWxhdG9yc191dGlscy9zZWRtbC9leGVjLnB5) | `97.70% <82.35%> (-1.50%)` | :arrow_down: | | [biosimulators\_utils/sedml/utils.py](https://app.codecov.io/gh/biosimulators/Biosimulators_utils/pull/145?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=biosimulators#diff-Ymlvc2ltdWxhdG9yc191dGlscy9zZWRtbC91dGlscy5weQ==) | `99.19% <90.90%> (-0.81%)` | :arrow_down: |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

sonarcloud[bot] commented 1 year ago

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 10 Code Smells

No Coverage information No Coverage information
12.4% 12.4% Duplication

idea Catch issues before they fail your Quality Gate with our IDE extension sonarlint SonarLint