File tree 1 file changed +16
-7
lines changed
1 file changed +16
-7
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ def fake_cp2k_input():
36
36
&END XC
37
37
&END DFT
38
38
&SUBSYS
39
- &KIND Al
39
+ &KIND F
40
40
ELEMENT H
41
41
BASIS_SET foo
42
42
POTENTIAL bar
@@ -141,11 +141,11 @@ def cp2k_input():
141
141
BASIS_SET TZVP-MOLOPT-PBE-GTH-q4
142
142
POTENTIAL GTH-PBE-q4
143
143
&END KIND
144
- &KIND Al
145
- ELEMENT Al
146
- BASIS_SET TZVP-MOLOPT-PBE-GTH-q3
147
- POTENTIAL GTH-PBE-q3
148
- &END KIND
144
+ ! &KIND F
145
+ ! ELEMENT F
146
+ ! BASIS_SET TZVP-MOLOPT-PBE-GTH-q7
147
+ ! POTENTIAL GTH-PBE-q7
148
+ ! &END KIND
149
149
&END SUBSYS
150
150
! &PRINT
151
151
! &STRESS_TENSOR ON
@@ -212,7 +212,7 @@ def test_cp2k_insert_filepaths(fake_cp2k_input):
212
212
&END XC
213
213
&END DFT
214
214
&SUBSYS
215
- &KIND Al
215
+ &KIND F
216
216
ELEMENT H
217
217
BASIS_SET foo
218
218
POTENTIAL bar
@@ -409,6 +409,15 @@ def test_cp2k_atomic_energies(cp2k_reference, dataset):
409
409
assert abs (energy .result () - (- 13.6 )) < 1 # reasonably close to exact value
410
410
411
411
412
+ # @pytest.mark.filterwarnings("ignore:Original input file not found")
413
+ @pytest .mark .skip
414
+ def test_cp2k_fluor (cp2k_reference , dataset ):
415
+ # tests for shitty bug in pymatgen
416
+ element = "F"
417
+ energy = cp2k_reference .compute_atomic_energy (element , box_size = 4 )
418
+ assert energy .result () < 1
419
+
420
+
412
421
# @pytest.fixture
413
422
# def nwchem_reference(context):
414
423
# calculator_kwargs = {
You can’t perform that action at this time.
0 commit comments