Repository navigation
Conversation
`check_parameter_df` only checked that nominal values of non-estimated parameters are convertible to `float`, which accepts NaN, i.e., empty cells. Now, missing values (NaN, `None`, `pd.NA`) are reported. Also fixes the classification of non-estimated parameters for string `estimate` columns, where all parameters were considered non-estimated. Closes PEtab-dev#639. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #640 +/- ##
=======================================
Coverage 80.34% 80.34%
=======================================
Files 70 70
Lines 8505 8507 +2
Branches 1561 1562 +1
=======================================
+ Hits 6833 6835 +2
Misses 1180 1180
Partials 492 492 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
check_parameter_dfonly checked that nominal values of non-estimated parameters are convertible tofloat, which accepts NaN, i.e., empty cells. Such problems passed validation, and parameter mapping then used NaN. Now, missing values (NaN,None,pd.NA) are reported, consistent with the v2Parametermodel.Also fixes the classification of non-estimated parameters for string
estimatecolumns, where all parameters were considered non-estimated. The nominal value check now runs after theestimateand parameter ID checks.Closes #639.
🤖 Generated with Claude Code