-
Notifications
You must be signed in to change notification settings - Fork 525
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(pt): cleanup deadcode #4142
chore(pt): cleanup deadcode #4142
Conversation
WalkthroughWalkthroughThe changes include the removal of the Changes
Recent review detailsConfiguration used: CodeRabbit UI Files selected for processing (4)
Files not reviewed due to no reviewable changes (4)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## devel #4142 +/- ##
==========================================
+ Coverage 83.03% 83.31% +0.28%
==========================================
Files 532 533 +1
Lines 52187 52051 -136
Branches 3030 3030
==========================================
+ Hits 43331 43365 +34
+ Misses 7911 7737 -174
- Partials 945 949 +4 ☔ View full report in Codecov by Sentry. |
It can be moved to tests |
Per discussion in deepmodeling#4142 (comment). It should not be a public API as it lacks maintainance. Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
Per discussion in #4142 (comment). It should not be a public API as it lacks maintainance. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Introduced a new `eval_model` function in the testing module to enhance model evaluation capabilities with various input configurations. - **Bug Fixes** - Removed the old `eval_model` function from the main module to streamline functionality and improve code organization. - **Refactor** - Consolidated the import of `eval_model` to a common module across multiple test files for better organization and reduced dependencies. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu> Co-authored-by: Han Wang <92130845+wanghan-iapcm@users.noreply.github.com>
region.py
andpreprocess.py
#3791eval_model
is never used. used by test_unused_params, which seems not easy to removeSummary by CodeRabbit
New Features
Bug Fixes
Refactor
Region3D
class and associated functions to streamline preprocessing logic.get_atom_axis
function to simplify atom axis determination._to_face_distance
function, suggesting a refactor in distance calculations.Tests
TestLegacyRegion
class, reducing the scope of testing related to theRegion3D
functionality.