Skip to content

Commit

Permalink
pre-commit auto-fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Jan 6, 2025
1 parent dd0911a commit 5b05b43
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions src/autoplex/auto/phonons/jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -398,13 +398,15 @@ def complete_benchmark( # this function was put here to prevent circular import
if isinstance(dft_references, list):
return Response(
replace=Flow(jobs),
output={"bm_output": collect_output, "dft_references": dft_references[ibenchmark_structure]},
)
else:
return Response(
replace=Flow(jobs),
output={"bm_output": collect_output, "dft_references": dft_references},
output={
"bm_output": collect_output,
"dft_references": dft_references[ibenchmark_structure],
},
)
return Response(
replace=Flow(jobs),
output={"bm_output": collect_output, "dft_references": dft_references},
)


@job
Expand Down

0 comments on commit 5b05b43

Please sign in to comment.