-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
♻️ Serveral refactorings in
glotaran.Parameter
(#910)
* Added Parameter to and from dict methods. * Moved markdown related parameter group tests to test_parameter_group_rendering.py * Refactored parameter tests. * Added parameter to and from dictionary list. * Added more extensive test for parameter csv. * Added `as_optimized` to parameter(group) as dict and dataframe functions. * Fixed deprecation test. * Added `Parameter.markdown` * Update glotaran/parameter/parameter_group.py Fix typo * ♻️ Refactored by Sourcery (less if nesting) * 🩹 Fixed renamed method get_group_for_parameter_by_label only in def * 🧹 Removed redundant int since mypy sees int as a subclass of float * ♻️ Changed stderr type from 'float|None' to float and default to np.nan * 🩹🧪 Fixed tests due to changed rendering * 👌 Improved typing where dict and list were used w/o types * 🧹👌 Fixed up leftover tying issues in parameters * 🧹 Fixed typo * 🧹 Apply minor naming suggestions from code review Co-authored-by: Sourcery AI <> Co-authored-by: s-weigand <s.weigand.phy@gmail.com>
- Loading branch information
1 parent
2d44c75
commit f71a34b
Showing
7 changed files
with
669 additions
and
413 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.