feat: descriptor provide get_rcut_smth and get_env_protection #3761
89.87% of diff hit (target 82.43%)
View this Pull Request on Codecov
89.87% of diff hit (target 82.43%)
Annotations
Check warning on line 374 in deepmd/dpmodel/descriptor/dpa2.py
codecov / codecov/patch
deepmd/dpmodel/descriptor/dpa2.py#L374
Added line #L374 was not covered by tests
Check warning on line 413 in deepmd/dpmodel/descriptor/dpa2.py
codecov / codecov/patch
deepmd/dpmodel/descriptor/dpa2.py#L413
Added line #L413 was not covered by tests
Check warning on line 57 in deepmd/dpmodel/descriptor/make_base_descriptor.py
codecov / codecov/patch
deepmd/dpmodel/descriptor/make_base_descriptor.py#L57
Added line #L57 was not covered by tests
Check warning on line 97 in deepmd/dpmodel/descriptor/make_base_descriptor.py
codecov / codecov/patch
deepmd/dpmodel/descriptor/make_base_descriptor.py#L97
Added line #L97 was not covered by tests
Check warning on line 64 in deepmd/pt/model/descriptor/descriptor.py
codecov / codecov/patch
deepmd/pt/model/descriptor/descriptor.py#L64
Added line #L64 was not covered by tests
Check warning on line 99 in deepmd/pt/model/descriptor/descriptor.py
codecov / codecov/patch
deepmd/pt/model/descriptor/descriptor.py#L99
Added line #L99 was not covered by tests
Check warning on line 379 in deepmd/pt/model/descriptor/dpa2.py
codecov / codecov/patch
deepmd/pt/model/descriptor/dpa2.py#L379
Added line #L379 was not covered by tests
Check warning on line 419 in deepmd/pt/model/descriptor/dpa2.py
codecov / codecov/patch
deepmd/pt/model/descriptor/dpa2.py#L419
Added line #L419 was not covered by tests