Skip to content

rearrange the def of atomic model. provide base class for fitting. re…

GitHub Advanced Security / CodeQL succeeded Feb 1, 2024 in 4s

49 new alerts

New alerts in code changed by this pull request

  • 49 notes

See annotations below for details.

View all branch alerts.

Annotations

Check notice on line 39 in source/tests/pt/test_dp_atomic_model.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note test

Variable nf is not used.

Check notice on line 39 in source/tests/pt/test_dp_atomic_model.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note test

Variable nloc is not used.

Check notice on line 39 in source/tests/pt/test_dp_atomic_model.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note test

Variable nnei is not used.

Check notice on line 67 in source/tests/pt/test_dp_atomic_model.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note test

Variable rng is not used.

Check notice on line 68 in source/tests/pt/test_dp_atomic_model.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note test

Variable nf is not used.

Check notice on line 68 in source/tests/pt/test_dp_atomic_model.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note test

Variable nloc is not used.

Check notice on line 68 in source/tests/pt/test_dp_atomic_model.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note test

Variable nnei is not used.

Check notice on line 96 in source/tests/pt/test_dp_atomic_model.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note test

Variable nf is not used.

Check notice on line 96 in source/tests/pt/test_dp_atomic_model.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note test

Variable nloc is not used.

Check notice on line 96 in source/tests/pt/test_dp_atomic_model.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note test

Variable nnei is not used.

Check notice on line 516 in source/tests/common/test_model_format_utils.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note test

Variable rng is not used.

Check notice on line 517 in source/tests/common/test_model_format_utils.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note test

Variable nf is not used.

Check notice on line 517 in source/tests/common/test_model_format_utils.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note test

Variable nloc is not used.

Check notice on line 517 in source/tests/common/test_model_format_utils.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note test

Variable nnei is not used.

Check notice on line 547 in source/tests/common/test_model_format_utils.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note test

Variable rng is not used.

Check notice on line 548 in source/tests/common/test_model_format_utils.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note test

Variable nf is not used.

Check notice on line 548 in source/tests/common/test_model_format_utils.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note test

Variable nloc is not used.

Check notice on line 548 in source/tests/common/test_model_format_utils.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note test

Variable nnei is not used.

Check notice on line 17 in deepmd/pt/model/model/dp_atomic_model.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused import Note

Import of 'DescrptSeA' is not used.

Check notice on line 602 in source/tests/common/test_model_format_utils.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note test

Variable nf is not used.

Check notice on line 602 in source/tests/common/test_model_format_utils.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note test

Variable nloc is not used.

Check notice on line 602 in source/tests/common/test_model_format_utils.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note test

Variable nnei is not used.

Check notice on line 98 in deepmd/pt/model/model/pair_tab.py

See this annotation in the file changed.

Code scanning / CodeQL

First parameter of a method is not named 'self' Note

Normal methods should have 'self', rather than 'cls', as their first parameter.

Check notice on line 228 in deepmd/dpmodel/model/make_model.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note

Variable n_nf is not used.

Check notice on line 228 in deepmd/dpmodel/model/make_model.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note

Variable n_nloc is not used.