Skip to content

Commit

Permalink
Small fixes, and semantic adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
Raff-physics committed Apr 3, 2024
1 parent aab7c9a commit e6e257f
Show file tree
Hide file tree
Showing 4 changed files with 200 additions and 213 deletions.
2 changes: 1 addition & 1 deletion aiida_kkr/tools/plot_kkr.py
Original file line number Diff line number Diff line change
Expand Up @@ -961,7 +961,7 @@ def plot_kkr_calc(self, node, **kwargs):
rms = []

if len(rms) > 1:
self.rmsplot(rms, neutr, nofig, p, logscale, only, label=label)
self.rmsplot(rms, neutr, nofig, ptitle, logscale, only, label=label)
# maybe save as file
save_fig_to_file(kwargs, 'plot_kkr_out_rms.png')

Expand Down
6 changes: 3 additions & 3 deletions aiida_kkr/tools/tools_STM_scan.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def get_imp_info_add_position(host_calc, imp_info, add_position):
Create combined impurity info node for the original
imp cluster + an additional (STM tip) position
"""

# extract host structure
host_structure = find_parent_structure(host_calc)

Expand All @@ -138,7 +138,7 @@ def get_imp_info_add_position(host_calc, imp_info, add_position):


@engine.calcfunction
def get_imp_info_add_position_cf(add_position, host_remote, imp_info ):
def get_imp_info_add_position_cf(add_position, host_remote, imp_info):
"""
Create a new impurty info node that combines the impurity cluster
of an original calculation and an STM scanning position.
Expand Down Expand Up @@ -227,4 +227,4 @@ def create_combined_potential_node_cf(add_position, host_remote, imp_potential_n

pot_combined_node = create_combined_potential_node(add_position, host_remote, imp_potential_node)

return pot_combined_node
return pot_combined_node
Loading

0 comments on commit e6e257f

Please sign in to comment.