Révision e1c5f171 modules/formats.py

b/modules/formats.py
183 183
    atoms_list = []
184 184
    for conf in conf_list:
185 185
        if code == 'cp2k':
186
            read_coords_cp2k(glob(f"{run_type}/{conf}/*-1.restart")[0],
187
                             spec_atms)
186
            atoms_list.append(read_coords_cp2k(glob(f"{run_type}/{conf}/*-1"
187
                                                    f".restart")[0], spec_atms))
188 188
        # elif code == 'vasp'
189 189
    return atoms_list
190 190

  

Formats disponibles : Unified diff