def setUp(self):
    if ('VASP_PSP_DIR' not in os.environ):
        os.environ['VASP_PSP_DIR'] = test_dir
    filepath = os.path.join(test_dir, 'POSCAR')
    poscar = Poscar.from_file(filepath)
    self.struct = poscar.structure
    self.mitparamset = MITVaspInputSet()
    self.mitparamset_unsorted = MITVaspInputSet(sort_structure=False)
    self.mithseparamset = MITHSEVaspInputSet()
    self.paramset = MPVaspInputSet()
    self.userparamset = MPVaspInputSet(user_incar_settings={'MAGMOM': {'Fe': 10, 'S': (- 5), 'Mn3+': 100}})
    self.mitggaparam = MITGGAVaspInputSet()
    self.mpstaticparamset = MPStaticVaspInputSet()
    self.mpnscfparamsetu = MPNonSCFVaspInputSet({'NBANDS': 50}, mode='Uniform')
    self.mpnscfparamsetl = MPNonSCFVaspInputSet({'NBANDS': 60}, mode='Line')
    self.mphseparamset = MPHSEVaspInputSet()
    self.mpbshseparamsetl = MPBSHSEVaspInputSet(mode='Line')
    self.mpbshseparamsetu = MPBSHSEVaspInputSet(mode='Uniform', added_kpoints=[[0.5, 0.5, 0.0]])
    self.mpdielparamset = MPStaticDielectricDFPTVaspInputSet()
def setUp(self):
    if ('VASP_PSP_DIR' not in os.environ):
        os.environ['VASP_PSP_DIR'] = test_dir
    filepath = os.path.join(test_dir, 'POSCAR')
    poscar = Poscar.from_file(filepath)
    self.struct = poscar.structure
    self.mitparamset = MITVaspInputSet()
    self.mitparamset_unsorted = MITVaspInputSet(sort_structure=False)
    self.mithseparamset = MITHSEVaspInputSet()
    self.paramset = MPVaspInputSet()
    self.userparamset = MPVaspInputSet(user_incar_settings={'MAGMOM': {'Fe': 10, 'S': (- 5), 'Mn3+': 100}})
    self.mitggaparam = MITGGAVaspInputSet()
    self.mpstaticparamset = MPStaticVaspInputSet()
    self.mpnscfparamsetu = MPNonSCFVaspInputSet({'NBANDS': 50}, mode='Uniform')
    self.mpnscfparamsetl = MPNonSCFVaspInputSet({'NBANDS': 60}, mode='Line')
    self.mphseparamset = MPHSEVaspInputSet()
    self.mpbshseparamsetl = MPBSHSEVaspInputSet(mode='Line')
    self.mpbshseparamsetu = MPBSHSEVaspInputSet(mode='Uniform', added_kpoints=[[0.5, 0.5, 0.0]])
    self.mpdielparamset = MPStaticDielectricDFPTVaspInputSet()