Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhollas committed Jul 29, 2024
1 parent 7fb3e2a commit 3e49388
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/aiidalab_qe/common/setup_codes.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ def _generate_header_to_setup_code():

def _generate_string_to_setup_code(code_name, computer_name="localhost"):
"""Generate the Python string to setup an AiiDA code for a given computer.
Tries to load an existing code and if not existent,
generates Python code to create and store a new code setup."""
try:
Expand Down Expand Up @@ -130,6 +131,7 @@ def _generate_string_to_setup_code(code_name, computer_name="localhost"):
)
return python_code
else:
# the code already exists
return ""


Expand Down

0 comments on commit 3e49388

Please sign in to comment.