From a9f6853c55549826f8a48b7f37355cea431ab18b Mon Sep 17 00:00:00 2001 From: mikibonacci Date: Wed, 22 May 2024 07:49:38 +0000 Subject: [PATCH] fixing the link wrapper to have the correct input parameters in case of mode=='ase' --- src/aiida_koopmans/helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/aiida_koopmans/helpers.py b/src/aiida_koopmans/helpers.py index 4b54125..a0c00cd 100644 --- a/src/aiida_koopmans/helpers.py +++ b/src/aiida_koopmans/helpers.py @@ -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 \ No newline at end of file