Skip to content

Commit

Permalink
Minor formatting corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
benshi97 committed Jun 7, 2024
1 parent 729aa6c commit 483c9ea
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/quacc/atoms/skzcam.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ def create_mrcc_eint_blocks(
multiplicities: MultiplicityDict | None = None,
) -> BlockInfo:
"""
Creates the orcablocks input for the ORCA ASE calculator.
Creates the orcablocks input for the MRCC ASE calculator.
Parameters
----------
Expand Down Expand Up @@ -278,7 +278,7 @@ def generate_mrcc_basis_ecp_block(
slab_cluster = adsorbate_slab_cluster[slab_indices]

# Helper to generate basis strings for MRCC
def create_basis_block(quantum_region, ecp_region=None):
def _create_basis_block(quantum_region, ecp_region=None):
return f"""
basis_sm=atomtype
{create_mrcc_atomtype_basis(quantum_region=quantum_region, ecp_region=ecp_region, element_basis_info={element: 'def2-SVP' for element in element_info})}
Expand All @@ -295,25 +295,25 @@ def create_basis_block(quantum_region, ecp_region=None):

if include_cp:
return {
"adsorbate_slab": create_basis_block(
"adsorbate_slab": _create_basis_block(
quantum_region=adsorbate_slab_cluster, ecp_region=ecp_region
),
"slab": create_basis_block(
"slab": _create_basis_block(
quantum_region=adsorbate_slab_cluster, ecp_region=ecp_region
),
"adsorbate": create_basis_block(
"adsorbate": _create_basis_block(
quantum_region=adsorbate_slab_cluster, ecp_region=None
),
}
else:
return {
"adsorbate_slab": create_basis_block(
"adsorbate_slab": _create_basis_block(
quantum_region=adsorbate_slab_cluster, ecp_region=ecp_region
),
"slab": create_basis_block(
"slab": _create_basis_block(
quantum_region=slab_cluster, ecp_region=ecp_region
),
"adsorbate": create_basis_block(
"adsorbate": _create_basis_block(
quantum_region=adsorbate_cluster, ecp_region=None
),
}
Expand Down

0 comments on commit 483c9ea

Please sign in to comment.