Closed jcschaff closed 1 year ago
Patch coverage: 100.00
% and no project coverage change.
Comparison is base (
ac14afd
) 95.79% compared to head (7abf57a
) 95.79%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
Kudos, SonarCloud Quality Gate passed!
0 Bugs
0 Vulnerabilities
0 Security Hotspots
0 Code Smells
No Coverage information
0.0% Duplication
updated software version to 0.1.178 in _version.py prior to merge so that it can be released and pushed to PyPI.
What new features does this PR implement? While validating SEDML documents, the
evalidate
library is used to check mathematical expressions used in a SEDML document (e.g. withinFunctionalRange
math). This validation does not permit use of the unary subtract operator which is common and safe. This maps to the Python AST as 'USub'.What bugs does this PR fix? This fixes the validation of several Virtual Cell models which use the unary subtract within its math. The SEDML validation encounters the use of unary subtract operator and raises a validation failure (a false-negative result).
Does this PR introduce any additional changes? No.
How have you tested this PR? added a test in
test_sedml_math.py
which exercises this operator.