Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove double _ methods #2023

Merged
merged 1 commit into from
Apr 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions src/quacc/recipes/espresso/_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def run_and_summarize(
RunSchema
Dictionary of results from [quacc.schemas.ase.summarize_run][]
"""
atoms = _prepare_atoms(
atoms = prepare_atoms(
atoms=atoms,
preset=preset,
template=template,
Expand All @@ -86,7 +86,7 @@ def run_and_summarize(
parallel_info=parallel_info,
)

updated_copy_files = _prepare_copy(
updated_copy_files = prepare_copy(
copy_files=copy_files,
calc_params=atoms.calc.user_calc_params,
binary=atoms.calc.template.binary,
Expand Down Expand Up @@ -159,7 +159,7 @@ def run_and_summarize_opt(
RunSchema
Dictionary of results from [quacc.schemas.ase.summarize_run][]
"""
atoms = _prepare_atoms(
atoms = prepare_atoms(
atoms=atoms,
preset=preset,
template=template,
Expand All @@ -169,7 +169,7 @@ def run_and_summarize_opt(
parallel_info=parallel_info,
)

updated_copy_files = _prepare_copy(
updated_copy_files = prepare_copy(
copy_files=copy_files,
calc_params=atoms.calc.user_calc_params,
binary=atoms.calc.template.binary,
Expand All @@ -186,7 +186,7 @@ def run_and_summarize_opt(
)


def _prepare_atoms(
def prepare_atoms(
atoms: Atoms | None = None,
preset: str | None = None,
template: EspressoTemplate | None = None,
Expand Down Expand Up @@ -252,7 +252,7 @@ def _prepare_atoms(
return atoms


def _prepare_copy(
def prepare_copy(
copy_files: (
SourceDirectory
| list[SourceDirectory]
Expand Down
Loading