3
0
mirror of https://github.com/triqs/dft_tools synced 2024-11-06 22:23:52 +01:00

Fixed test setup for 'test_projgroups.py'

The parameter set of 'ProjectorGroup' constructor was modified.
Now the call in the test case has been fixed accordingly.
This commit is contained in:
Oleg E. Peil 2015-09-16 11:47:01 +02:00 committed by Michel Ferrero
parent 1f57cd1935
commit 68fbc15891

View File

@ -28,9 +28,10 @@ class TestProjectorGroup(mytest.MyTestCase):
efermi = self.vasp_data.doscar.efermi efermi = self.vasp_data.doscar.efermi
eigvals = self.vasp_data.eigenval.eigs - efermi eigvals = self.vasp_data.eigenval.eigs - efermi
ferw = self.vasp_data.plocar.ferw
self.shells = [ProjectorShell(self.pars.shells[0], self.vasp_data.plocar.plo)] self.shells = [ProjectorShell(self.pars.shells[0], self.vasp_data.plocar.plo)]
self.proj_gr = ProjectorGroup(self.pars.groups[0], self.shells, eigvals) self.proj_gr = ProjectorGroup(self.pars.groups[0], self.shells, eigvals, ferw)
# Scenario 1 # Scenario 1
def test_example(self): def test_example(self):