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.pyandpreprocess.py#3791eval_modelis never used. used by test_unused_params, which seems not easy to removeSummary by CodeRabbit
New Features
Bug Fixes
Refactor
Region3Dclass and associated functions to streamline preprocessing logic.get_atom_axisfunction to simplify atom axis determination._to_face_distancefunction, suggesting a refactor in distance calculations.Tests
TestLegacyRegionclass, reducing the scope of testing related to theRegion3Dfunctionality.