Skip to content

Commit

Permalink
Fix k-points path assignement in the input file
Browse files Browse the repository at this point in the history
  • Loading branch information
yakutovicha committed Apr 23, 2020
1 parent a7a1271 commit 2a476a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aiida_cp2k/utils/workchains.py
Expand Up @@ -214,8 +214,8 @@ def update_input_dict_for_bands(input_dict, seekpath, structure):
kpath = []
for pnt in path:
pnt1 = pnt[0] + ' ' + " ".join(str(x) for x in coords[pnt[0]])
pnt1 = pnt[1] + ' ' + " ".join(str(x) for x in coords[pnt[1]])
kpath.append({'_': "", 'UNITS': 'B_VECTOR', 'NPOINTS': 10, 'SPECIAL_POINT': [pnt1, pnt1]})
pnt2 = pnt[1] + ' ' + " ".join(str(x) for x in coords[pnt[1]])
kpath.append({'_': "", 'UNITS': 'B_VECTOR', 'NPOINTS': 10, 'SPECIAL_POINT': [pnt1, pnt2]})

kpath_dict = {'FORCE_EVAL': {'DFT': {'PRINT': {'BAND_STRUCTURE': {'KPOINT_SET': kpath}}}}}
merge_dict(i_dict, kpath_dict)
Expand Down

0 comments on commit 2a476a8

Please sign in to comment.