Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Miki Bonacci committed Feb 19, 2024
1 parent 825c283 commit 81347d2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions aiida_yambo_wannier90/workflows/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1185,9 +1185,9 @@ def prepare_wannier90_inputs(self) -> AttributeDict:

inputs.structure = self.ctx.current_structure
if "bands_kpoints" in self.inputs:
inputs.wannier90.kpoint_path = self.inputs["bands_kpoints"]
inputs.kpoint_path = self.inputs["bands_kpoints"]
elif self.ctx.current_kpoint_path:
inputs.wannier90.kpoint_path = self.ctx.current_explicit_kpoints
inputs.kpoint_path = self.ctx.current_explicit_kpoints

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

inputs.wannier90.structure = self.ctx.current_structure
if self.ctx.current_kpoint_path:
inputs.kpoint_path = self.ctx.current_kpoint_path
inputs.wannier90.kpoint_path = self.ctx.current_kpoint_path

if self.ctx.kpoints_w90_input != self.ctx.kpoints_w90:
set_kpoints(
Expand Down

0 comments on commit 81347d2

Please sign in to comment.