Skip to content

Commit

Permalink
fixing the link wrapper to have the correct input parameters
Browse files Browse the repository at this point in the history
in case of mode=='ase'
  • Loading branch information
mikibonacci committed May 22, 2024
1 parent 7a68786 commit a9f6853
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aiida_koopmans/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,7 @@ def aiida_link_trigger(link):
@functools.wraps(link)
def wrapper_aiida_trigger(self,src_calc, src_path, dest_calc, dest_path):
if self.parameters.mode == "ase":
return self.link(src_calc, src_path, dest_src, dest_path)
return self.link(src_calc, src_path, dest_calc, dest_path)
elif src_calc: # if pseudo linking, src_calc = None
dest_calc.parent_folder = src_calc.wchain.outputs.remote_folder
return wrapper_aiida_trigger

0 comments on commit a9f6853

Please sign in to comment.