Skip to content

Commit

Permalink
Adding some fixing for the namespace in the workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Miki Bonacci committed Feb 13, 2024
1 parent 15299e0 commit c24a624
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 @@ -1063,7 +1063,7 @@ def prepare_wannier90_pp_inputs(self) -> AttributeDict:
#params["bands_plot"] = False
#inputs.wannier90.parameters = orm.Dict(params)

inputs.bands_kpoints = self.ctx.current_bands_kpoints
inputs.wannier90.bands_kpoints = self.ctx.current_bands_kpoints

# Use commensurate kmesh
if self.ctx.kpoints_w90_input != self.ctx.kpoints_w90:
Expand Down Expand Up @@ -1174,8 +1174,8 @@ def prepare_wannier90_inputs(self) -> AttributeDict:
self.exposed_inputs(Wannier90OptimizeWorkChain, namespace="wannier90")
)

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

# Use commensurate kmesh
if self.ctx.kpoints_w90_input != self.ctx.kpoints_w90:
Expand Down

0 comments on commit c24a624

Please sign in to comment.