-
Notifications
You must be signed in to change notification settings - Fork 527
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: type of the preset out bias (#4135)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Enhanced error handling for the `preset_out_bias` parameter, allowing for better validation of input types. - Expanded documentation for `preset_out_bias`, providing clearer guidelines and examples for users. - **Bug Fixes** - Improved robustness by ensuring unsupported types for energy values raise appropriate errors. - **Tests** - Added new tests to validate the handling of various input types for the `preset_out_bias` parameter, ensuring correct processing and error reporting. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Co-authored-by: Han Wang <[email protected]>
- Loading branch information
1 parent
64e6e52
commit 2e3b251
Showing
3 changed files
with
53 additions
and
3 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