Skip to content

Commit

Permalink
This version of the STM workflow should allow to submit a calculation…
Browse files Browse the repository at this point in the history
… without embedding any sites
  • Loading branch information
Raff-physics committed Oct 21, 2024
1 parent 8610289 commit b9906e4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions aiida_kkr/workflows/kkr_STM.py
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,11 @@ def impurity_cluster_evaluation(self):
if _VERBOSE_:
t0 = time()

# Case in which we don't pass any element to embed in the impurity cluster, it
# uses the impurity files given in the inputs.
if element == []:
return impurity_info, imp_potential_node

# Check if the position is already in the cluster
# for this we need to first get the position
tmp_pos = self.get_tip_position_dict(element[0], element[1])
Expand Down

0 comments on commit b9906e4

Please sign in to comment.