Skip to content

Commit

Permalink
small bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippRue committed Nov 25, 2024
1 parent 660735c commit a19aca9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aiida_kkr/workflows/_combine_imps.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ def combine_single_single(self):
host_GF = imp_1.inputs.host_Greenfunction_folder
host_GF_calc = host_GF.base.links.get_incoming(node_class=CalcJobNode).first().node
impurity_info = host_GF_calc.inputs.impurity_info
Zimp_num_1 = impurity_info.get_dict().get('Zimp')
Zimp_num_1 = impurity_info.get_dict().get('Zimp')

if isinstance(Zimp_num_1, list):
if len(Zimp_num_1) > 1:
Expand All @@ -317,7 +317,7 @@ def combine_single_single(self):
host_GF = imp_2.inputs.host_Greenfunction_folder
host_GF_calc = host_GF.base.links.get_incoming(node_class=CalcJobNode).first().node
impurity_info = host_GF_calc.inputs.impurity_info
Zimp_num_2 = impurity_info.get_dict().get('Zimp')
Zimp_num_2 = impurity_info.get_dict().get('Zimp')

if isinstance(Zimp_num_2, list):
if len(Zimp_num_2) > 1:
Expand Down

0 comments on commit a19aca9

Please sign in to comment.