File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ def test_scf(self):
5151 np .testing .assert_almost_equal (
5252 data ["force_mags" ], sys2 .data ["force_mags" ], decimal = 8
5353 )
54-
54+
5555 def test_scf_nspin2 (self ):
5656 os .system ("cp abacus.spin/INPUT.scf.nspin2 abacus.spin/INPUT" )
5757 mysys = dpdata .LabeledSystem ("abacus.spin" , fmt = "abacus/scf" )
@@ -60,16 +60,16 @@ def test_scf_nspin2(self):
6060 np .testing .assert_almost_equal (
6161 data ["spins" ][0 ],
6262 [
63- [0 ,0 , 2.4000001004 ],
64- [0 ,0 , 2.3999994597 ],
63+ [0 , 0 , 2.4000001004 ],
64+ [0 , 0 , 2.3999994597 ],
6565 ],
6666 decimal = 8 ,
6767 )
6868 np .testing .assert_almost_equal (
6969 data ["force_mags" ][0 ],
7070 [
71- [0 ,0 , - 0.3669618965 ],
72- [0 ,0 , - 0.3669821632 ],
71+ [0 , 0 , - 0.3669618965 ],
72+ [0 , 0 , - 0.3669821632 ],
7373 ],
7474 decimal = 8 ,
7575 )
@@ -85,7 +85,6 @@ def test_scf_nspin2(self):
8585 data ["force_mags" ], sys2 .data ["force_mags" ], decimal = 8
8686 )
8787
88-
8988 def test_relax (self ):
9089 os .system ("cp abacus.spin/INPUT.relax abacus.spin/INPUT" )
9190 mysys = dpdata .LabeledSystem ("abacus.spin" , fmt = "abacus/relax" )
You can’t perform that action at this time.
0 commit comments