Skip to content

Commit

Permalink
Specify keyword arguments explicitly (#2369)
Browse files Browse the repository at this point in the history
Specifies keyword arguments in `grid_phonon_flow` that were provided as
positional arguments.

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
Andrew-S-Rosen and pre-commit-ci[bot] authored Jul 29, 2024
1 parent a3870c1 commit 6d63cde
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/quacc/recipes/espresso/phonons.py
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ def _ph_recover_subflow(grid_results: list[RunSchema]) -> RunSchema:
Path("**", "wfc*.*"),
Path("**", "paw.txt.*"),
]
return ph_recover_job(prev_dirs)
return ph_recover_job(copy_files=prev_dirs)

@subflow
def _grid_phonon_subflow(
Expand Down Expand Up @@ -415,7 +415,8 @@ def _grid_phonon_subflow(
ph_input_data["inputph"]["start_irr"] = representation[0]
ph_input_data["inputph"]["last_irr"] = representation[-1]
ph_job_results = ph_job(
deepcopy(files_to_copy), input_data=deepcopy(ph_input_data)
copy_files=deepcopy(files_to_copy),
input_data=deepcopy(ph_input_data),
)
grid_results.append(ph_job_results)

Expand Down

0 comments on commit 6d63cde

Please sign in to comment.