Révision 9 prepareQMX.py

prepareQMX.py (revision 9)
31 31
    line = getline(section, "program", lines)
32 32
    if line is None:
33 33
        line=""
34
    if True or line.lower() == "turbomole":
34
    if line.lower() == "turbomole":
35 35
        data.str_import = "from ase.io.turbomole import read_turbomole"
36 36
        data.str_class = "read_turbomole"
37
    elif line.lower() == "vasp":
38
        data.str_import = "from ase.io.vasp import read_vasp"
39
        data.str_class = "read_vasp"
37 40
        
38 41
    data.str_structure = getline(section, "structure", lines)
39 42
    return data

Formats disponibles : Unified diff