diff --git a/tests/abacus.spin/INPUT b/tests/abacus.spin/INPUT deleted file mode 100644 index 0bdd9303..00000000 --- a/tests/abacus.spin/INPUT +++ /dev/null @@ -1,27 +0,0 @@ -INPUT_PARAMETERS -suffix ABACUS-nspin2 -calculation scf -ecutwfc 100 -scf_thr 1e-07 -scf_nmax 100 -out_chg 0 -smearing_method gauss -smearing_sigma 0.01 -mixing_type broyden -mixing_ndim 10 -ks_solver genelpa -basis_type lcao -symmetry 0 -noncolin 1 -lspinorb 0 -nspin 2 -out_mul true -sc_mag_switch 1 -decay_grad_switch 1 -sc_thr 1e-07 -sc_scf_thr 1e-09 -nsc 100 -nsc_min 2 -alpha_trial 0.01 -sccut 3 -cal_force 1 diff --git a/tests/test_abacus_spin.py b/tests/test_abacus_spin.py index 0c3b48f9..5a46ceea 100644 --- a/tests/test_abacus_spin.py +++ b/tests/test_abacus_spin.py @@ -16,6 +16,8 @@ def setUp(self): def tearDown(self): if os.path.isdir(self.dump_path): shutil.rmtree(self.dump_path) + if os.path.isfile("abacus.spin/INPUT"): + os.remove("abacus.spin/INPUT") def test_scf(self): os.system("cp abacus.spin/INPUT.scf abacus.spin/INPUT")