Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Mar 14, 2024
1 parent d7ecbba commit 3916f5e
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions source/tests/tf/test_fitting_dos.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,12 +189,20 @@ def test_fitting(self):
pred_atom_dos = pred_atom_dos.reshape(-1, numb_dos)

ref_atom_dos_1 = [
-0.32495014, -0.32495882, -0.32496842, -0.32495892, -0.32495469,
-0.32496075
-0.32495014,
-0.32495882,
-0.32496842,
-0.32495892,
-0.32495469,
-0.32496075,
]
ref_atom_dos_2 = [
0.21549911, 0.21550413, 0.21551077, 0.21550547, 0.21550303,
0.21550645
0.21549911,
0.21550413,
0.21551077,
0.21550547,
0.21550303,
0.21550645,
]
places = 4
np.testing.assert_almost_equal(pred_atom_dos[:, 0], ref_atom_dos_1, places)
Expand Down

0 comments on commit 3916f5e

Please sign in to comment.