Skip to content

Commit 249ef89

Browse files
committed
chore: change the id logic to start from 0 instead of 1 in test fixtures
1 parent e015cea commit 249ef89

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

tests/fixtures/data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:1b5922e129683c921c2ab96ff9d4e6d26b7701c95587a8f67b19c536c4ae2011
2+
oid sha256:c6dfc86c91e91091a18ae8006cb9ba5d6d7e0935111273d1396ca78be82297df
33
size 23287
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:daa02db7be6eae56bbe3dabb3326e97014240de97e71aa26acedf97ff3656122
2+
oid sha256:25cb7690bac1b36a0ed787cfca62706d58614c2a1cbdb7ad5774c010bec9b072
33
size 144655

tests/fixtures/nwchem/references.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414

1515
BASIS = {
1616
"units": "angstrom",
17-
"elements": [{"id": 1, "value": "O"}, {"id": 2, "value": "H"}, {"id": 3, "value": "H"}],
17+
"elements": [{"id": 0, "value": "O"}, {"id": 1, "value": "H"}, {"id": 2, "value": "H"}],
1818
"coordinates": [
19-
{"id": 1, "value": [0.00000000, 0.00000000, 0.22143053]},
20-
{"id": 2, "value": [0.00000000, 1.43042809, -0.88572213]},
21-
{"id": 3, "value": [0.00000000, -1.43042809, -0.88572213]},
19+
{"id": 0, "value": [0.00000000, 0.00000000, 0.22143053]},
20+
{"id": 1, "value": [0.00000000, 1.43042809, -0.88572213]},
21+
{"id": 2, "value": [0.00000000, -1.43042809, -0.88572213]},
2222
],
2323
}

tests/unit/properties/non_scalar/test_atomic_forces.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
ATOMIC_FORCES = {
66
"units": "eV/angstrom",
77
"name": "atomic_forces",
8-
"values": [{"id": 1, "value": [-3.9e-07, -2.4e-07, 0.0]}, {"id": 2, "value": [3.9e-07, 2.4e-07, 0.0]}],
8+
"values": [{"id": 0, "value": [-3.9e-07, -2.4e-07, 0.0]}, {"id": 1, "value": [3.9e-07, 2.4e-07, 0.0]}],
99
}
1010

1111

tests/unit/properties/non_scalar/test_magnetic_moments.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
MAGNETIC_MOMENTS = {
66
"units": "uB",
77
"name": "magnetic_moments",
8-
"values": [{"id": 1, "value": [0, 0, 1.235]}, {"id": 2, "value": [0, 0, -1.235]}],
8+
"values": [{"id": 0, "value": [0, 0, 1.235]}, {"id": 1, "value": [0, 0, -1.235]}],
99
}
1010

1111

0 commit comments

Comments
 (0)