deepmodeling / dpgen2

2nd generation of the Deep Potential GENerator
https://docs.deepmodeling.com/projects/dpgen2/
GNU Lesser General Public License v3.0
32 stars 24 forks source link

add UT for abacus/fix getattr value/add restart subcommand #177

Closed zjgemi closed 10 months ago

zjgemi commented 10 months ago

add UT for abacus fix outputs.parameters[exploration_scheduler] has no attribute value add restart subcommand for debug mode

codecov[bot] commented 10 months ago

Codecov Report

Attention: 6 lines in your changes are missing coverage. Please review.

Comparison is base (0c45f50) 87.57% compared to head (91943e7) 87.55%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #177 +/- ## ========================================== - Coverage 87.57% 87.55% -0.02% ========================================== Files 82 82 Lines 4160 4170 +10 ========================================== + Hits 3643 3651 +8 - Misses 517 519 +2 ``` | [Files](https://app.codecov.io/gh/deepmodeling/dpgen2/pull/177?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=deepmodeling) | Coverage Δ | | |---|---|---| | [dpgen2/utils/dflow\_query.py](https://app.codecov.io/gh/deepmodeling/dpgen2/pull/177?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=deepmodeling#diff-ZHBnZW4yL3V0aWxzL2RmbG93X3F1ZXJ5LnB5) | `82.00% <ø> (ø)` | | | [dpgen2/entrypoint/main.py](https://app.codecov.io/gh/deepmodeling/dpgen2/pull/177?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=deepmodeling#diff-ZHBnZW4yL2VudHJ5cG9pbnQvbWFpbi5weQ==) | `52.89% <40.00%> (-1.17%)` | :arrow_down: | ... and [1 file with indirect coverage changes](https://app.codecov.io/gh/deepmodeling/dpgen2/pull/177/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=deepmodeling)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.