Skip to content
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

refactor: refactor update_sel and save min_nbor_dist #3829

Merged
merged 14 commits into from
May 31, 2024

fix type hints

88c5219
Select commit
Loading
Failed to load commit list.
Merged

refactor: refactor update_sel and save min_nbor_dist #3829

fix type hints
88c5219
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch succeeded May 28, 2024 in 1s

69.58% of diff hit (within 100.00% threshold of 82.48%)

View this Pull Request on Codecov

69.58% of diff hit (within 100.00% threshold of 82.48%)

Annotations

Check warning on line 555 in deepmd/dpmodel/descriptor/dpa1.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/dpmodel/descriptor/dpa1.py#L555

Added line #L555 was not covered by tests

Check warning on line 559 in deepmd/dpmodel/descriptor/dpa1.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/dpmodel/descriptor/dpa1.py#L558-L559

Added lines #L558 - L559 were not covered by tests

Check warning on line 775 in deepmd/dpmodel/descriptor/dpa2.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/dpmodel/descriptor/dpa2.py#L775

Added line #L775 was not covered by tests

Check warning on line 783 in deepmd/dpmodel/descriptor/dpa2.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/dpmodel/descriptor/dpa2.py#L782-L783

Added lines #L782 - L783 were not covered by tests

Check warning on line 791 in deepmd/dpmodel/descriptor/dpa2.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/dpmodel/descriptor/dpa2.py#L790-L791

Added lines #L790 - L791 were not covered by tests

Check warning on line 257 in deepmd/dpmodel/descriptor/hybrid.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/dpmodel/descriptor/hybrid.py#L254-L257

Added lines #L254 - L257 were not covered by tests

Check warning on line 264 in deepmd/dpmodel/descriptor/hybrid.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/dpmodel/descriptor/hybrid.py#L260-L264

Added lines #L260 - L264 were not covered by tests

Check warning on line 453 in deepmd/dpmodel/descriptor/se_e2_a.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/dpmodel/descriptor/se_e2_a.py#L453

Added line #L453 was not covered by tests

Check warning on line 456 in deepmd/dpmodel/descriptor/se_e2_a.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/dpmodel/descriptor/se_e2_a.py#L456

Added line #L456 was not covered by tests

Check warning on line 377 in deepmd/dpmodel/descriptor/se_r.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/dpmodel/descriptor/se_r.py#L377

Added line #L377 was not covered by tests

Check warning on line 380 in deepmd/dpmodel/descriptor/se_r.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/dpmodel/descriptor/se_r.py#L380

Added line #L380 was not covered by tests

Check warning on line 150 in deepmd/dpmodel/model/base_model.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/dpmodel/model/base_model.py#L150

Added line #L150 was not covered by tests

Check warning on line 46 in deepmd/dpmodel/model/dp_model.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/dpmodel/model/dp_model.py#L46

Added line #L46 was not covered by tests

Check warning on line 49 in deepmd/dpmodel/model/dp_model.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/dpmodel/model/dp_model.py#L49

Added line #L49 was not covered by tests

Check warning on line 232 in deepmd/dpmodel/model/spin_model.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/dpmodel/model/spin_model.py#L232

Added line #L232 was not covered by tests

Check warning on line 264 in deepmd/pt/entrypoints/main.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/entrypoints/main.py#L264

Added line #L264 was not covered by tests

Check warning on line 266 in deepmd/pt/entrypoints/main.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/entrypoints/main.py#L266

Added line #L266 was not covered by tests

Check warning on line 272 in deepmd/pt/entrypoints/main.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/entrypoints/main.py#L272

Added line #L272 was not covered by tests

Check warning on line 297 in deepmd/pt/entrypoints/main.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/entrypoints/main.py#L296-L297

Added lines #L296 - L297 were not covered by tests

Check warning on line 605 in deepmd/pt/model/descriptor/dpa2.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/model/descriptor/dpa2.py#L605

Added line #L605 was not covered by tests

Check warning on line 613 in deepmd/pt/model/descriptor/dpa2.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/model/descriptor/dpa2.py#L612-L613

Added lines #L612 - L613 were not covered by tests

Check warning on line 621 in deepmd/pt/model/descriptor/dpa2.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/model/descriptor/dpa2.py#L620-L621

Added lines #L620 - L621 were not covered by tests

Check warning on line 444 in deepmd/pt/model/descriptor/se_r.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/model/descriptor/se_r.py#L444

Added line #L444 was not covered by tests

Check warning on line 447 in deepmd/pt/model/descriptor/se_r.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/model/descriptor/se_r.py#L447

Added line #L447 was not covered by tests

Check warning on line 138 in deepmd/pt/model/model/dp_zbl_model.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/model/model/dp_zbl_model.py#L138

Added line #L138 was not covered by tests