| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
addParameter, newParameter and removeParameter were the public spelling of RecipeOrganizer's private _add_parameter/_new_parameter/ _remove_parameter, exposed as bare class-level aliases. Point the snake_case names at those aliases instead and add forwarding @deprecated shims for the camelCase names, matching how addParameterSet and removeParameterSet were handled in the same file. Internal callers in fitbase, pdf, sas and structure move to the new names so core no longer warns at itself. BaseSpaceGroupParameters.addParameter in structure/sgconstraints.py is deliberately untouched: it is a RecipeContainer, not a ParameterSet, so it neither inherits nor reaches these accessors, and renaming it belongs with the rest of the structure subpackage renames. This unblocks the structure and sas subpackage renames, which could not move off addParameter while it was core's only public spelling. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. @@ Coverage Diff @@
## main #214 +/- ##
===========================================
+ Coverage 71.63% 82.51% +10.88%
===========================================
Files 25 27 +2
Lines 3437 4130 +693
===========================================
+ Hits 2462 3408 +946
+ Misses 975 722 -253
... and 7 files with indirect coverage changes 🚀 New features to boost your workflow:
|
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
addParameter, newParameter and removeParameter were not updated to snake case in the last release. This PR updates their names to snake case