Skip to content

clean deprecated codes#2140

Merged
wanghan-iapcm merged 6 commits intodeepmodeling:develfrom
njzjz:clean-deprecated
Nov 29, 2022
Merged

clean deprecated codes#2140
wanghan-iapcm merged 6 commits intodeepmodeling:develfrom
njzjz:clean-deprecated

Conversation

@njzjz
Copy link
Member

@njzjz njzjz commented Nov 29, 2022

Remove lots of deprecated codes, including:

  1. ClassArg, and all related codes;
  2. WFCFitting, PolarFittingLocFrame, which were marked deprecated;
  3. Loss.print_header, Loss.print_on_training, which were marked deprecated;
  4. DataSets and DataSystem, which were marked deprecated;
  5. source/op/legacy.

There is no reason to keep them.

DataSystem and DataSystem are moved to tests as some tests still need it.

Remove lots of decpreated codes, including:
1. ClassArg, and all related codes;
2. WFCFitting, PolarFittingLocFrame, which were marked deprecated;
3. Loss.print_header, Loss.print_on_training, which were marked deprecated;
4. DataSets and DataSystem, which were marked deprecated;
5. source/op/legacy

There is no reason to keep them.

Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
@codecov-commenter
Copy link

codecov-commenter commented Nov 29, 2022

Codecov Report

Base: 73.78% // Head: 74.11% // Increases project coverage by +0.33% 🎉

Coverage data is based on head (6da16b1) compared to base (fe213b1).
Patch coverage: 54.54% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##            devel    #2140      +/-   ##
==========================================
+ Coverage   73.78%   74.11%   +0.33%     
==========================================
  Files         202      201       -1     
  Lines       20370    19760     -610     
  Branches     1416     1416              
==========================================
- Hits        15030    14646     -384     
+ Misses       4402     4175     -227     
- Partials      938      939       +1     
Impacted Files Coverage Δ
deepmd/common.py 78.18% <ø> (-6.20%) ⬇️
deepmd/descriptor/hybrid.py 31.52% <ø> (-0.74%) ⬇️
deepmd/descriptor/loc_frame.py 95.45% <ø> (-0.76%) ⬇️
deepmd/descriptor/se_a_ef.py 54.54% <ø> (ø)
deepmd/descriptor/se_r.py 93.53% <ø> (ø)
deepmd/fit/__init__.py 100.00% <ø> (ø)
deepmd/fit/dipole.py 94.94% <ø> (ø)
deepmd/fit/polar.py 68.25% <ø> (+11.95%) ⬆️
deepmd/infer/ewald_recp.py 100.00% <ø> (ø)
deepmd/model/ener.py 89.23% <ø> (-0.09%) ⬇️
... and 12 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
@wanghan-iapcm wanghan-iapcm enabled auto-merge (squash) November 29, 2022 05:34
@wanghan-iapcm wanghan-iapcm merged commit 1529781 into deepmodeling:devel Nov 29, 2022
@njzjz njzjz mentioned this pull request Dec 9, 2022
61 tasks
mingzhong15 pushed a commit to mingzhong15/deepmd-kit that referenced this pull request Jan 15, 2023
Remove lots of deprecated codes, including:
1. `ClassArg`, and all related codes;
2. `WFCFitting`, `PolarFittingLocFrame`, which were marked deprecated;
3. `Loss.print_header`, `Loss.print_on_training`, which were marked
deprecated;
4. `DataSets` and `DataSystem`, which were marked deprecated;
5. `source/op/legacy`.

There is no reason to keep them.

`DataSystem` and `DataSystem` are moved to tests as some tests still
need it.

Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants