Skip to content

Commit 81347d2

Browse files
author
Miki Bonacci
committed
bugfix
1 parent 825c283 commit 81347d2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

aiida_yambo_wannier90/workflows/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1185,9 +1185,9 @@ def prepare_wannier90_inputs(self) -> AttributeDict:
11851185

11861186
inputs.structure = self.ctx.current_structure
11871187
if "bands_kpoints" in self.inputs:
1188-
inputs.wannier90.kpoint_path = self.inputs["bands_kpoints"]
1188+
inputs.kpoint_path = self.inputs["bands_kpoints"]
11891189
elif self.ctx.current_kpoint_path:
1190-
inputs.wannier90.kpoint_path = self.ctx.current_explicit_kpoints
1190+
inputs.kpoint_path = self.ctx.current_explicit_kpoints
11911191

11921192
# Use commensurate kmesh
11931193
if self.ctx.kpoints_w90_input != self.ctx.kpoints_w90:
@@ -1274,7 +1274,7 @@ def prepare_wannier90_qp_inputs(self) -> AttributeDict:
12741274

12751275
inputs.wannier90.structure = self.ctx.current_structure
12761276
if self.ctx.current_kpoint_path:
1277-
inputs.kpoint_path = self.ctx.current_kpoint_path
1277+
inputs.wannier90.kpoint_path = self.ctx.current_kpoint_path
12781278

12791279
if self.ctx.kpoints_w90_input != self.ctx.kpoints_w90:
12801280
set_kpoints(

0 commit comments

Comments
 (0)