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

fix pyright errors #154

Closed zjgemi closed 1 year ago

HuangJiameng commented 1 year ago

Is this pr a WIP?

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 94.44% and project coverage change: +0.01 :tada:

Comparison is base (4abb43b) 87.93% compared to head (e1fd0d5) 87.94%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #154 +/- ## ========================================== + Coverage 87.93% 87.94% +0.01% ========================================== Files 79 79 Lines 3787 3791 +4 ========================================== + Hits 3330 3334 +4 Misses 457 457 ``` | [Impacted Files](https://app.codecov.io/gh/deepmodeling/dpgen2/pull/154?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=deepmodeling) | Coverage Δ | | |---|---|---| | [dpgen2/entrypoint/submit.py](https://app.codecov.io/gh/deepmodeling/dpgen2/pull/154?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=deepmodeling#diff-ZHBnZW4yL2VudHJ5cG9pbnQvc3VibWl0LnB5) | `71.32% <ø> (ø)` | | | [dpgen2/flow/dpgen\_loop.py](https://app.codecov.io/gh/deepmodeling/dpgen2/pull/154?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=deepmodeling#diff-ZHBnZW4yL2Zsb3cvZHBnZW5fbG9vcC5weQ==) | `87.76% <ø> (ø)` | | | [dpgen2/superop/prep\_run\_fp.py](https://app.codecov.io/gh/deepmodeling/dpgen2/pull/154?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=deepmodeling#diff-ZHBnZW4yL3N1cGVyb3AvcHJlcF9ydW5fZnAucHk=) | `92.59% <ø> (ø)` | | | [dpgen2/superop/prep\_run\_lmp.py](https://app.codecov.io/gh/deepmodeling/dpgen2/pull/154?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=deepmodeling#diff-ZHBnZW4yL3N1cGVyb3AvcHJlcF9ydW5fbG1wLnB5) | `92.85% <ø> (ø)` | | | [dpgen2/op/collect\_data.py](https://app.codecov.io/gh/deepmodeling/dpgen2/pull/154?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=deepmodeling#diff-ZHBnZW4yL29wL2NvbGxlY3RfZGF0YS5weQ==) | `96.77% <50.00%> (ø)` | | | [dpgen2/conf/alloy\_conf.py](https://app.codecov.io/gh/deepmodeling/dpgen2/pull/154?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=deepmodeling#diff-ZHBnZW4yL2NvbmYvYWxsb3lfY29uZi5weQ==) | `86.79% <100.00%> (ø)` | | | [dpgen2/exploration/selector/conf\_filter.py](https://app.codecov.io/gh/deepmodeling/dpgen2/pull/154?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=deepmodeling#diff-ZHBnZW4yL2V4cGxvcmF0aW9uL3NlbGVjdG9yL2NvbmZfZmlsdGVyLnB5) | `95.23% <100.00%> (ø)` | | | [dpgen2/exploration/selector/conf\_selector\_frame.py](https://app.codecov.io/gh/deepmodeling/dpgen2/pull/154?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=deepmodeling#diff-ZHBnZW4yL2V4cGxvcmF0aW9uL3NlbGVjdG9yL2NvbmZfc2VsZWN0b3JfZnJhbWUucHk=) | `100.00% <100.00%> (ø)` | | | [dpgen2/fp/deepmd.py](https://app.codecov.io/gh/deepmodeling/dpgen2/pull/154?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=deepmodeling#diff-ZHBnZW4yL2ZwL2RlZXBtZC5weQ==) | `97.56% <100.00%> (ø)` | | | [dpgen2/fp/prep\_fp.py](https://app.codecov.io/gh/deepmodeling/dpgen2/pull/154?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=deepmodeling#diff-ZHBnZW4yL2ZwL3ByZXBfZnAucHk=) | `97.72% <100.00%> (ø)` | | | ... and [4 more](https://app.codecov.io/gh/deepmodeling/dpgen2/pull/154?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: Do you have feedback about the report comment? Let us know in this issue.