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 Dec 24, 2024
1 parent bdf0c8b commit c59f853
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/autoplex/auto/phonons/jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,10 @@ def do_iterative_rattled_structures(
jobs.append(job1)
# order is the same as in the scaling "scale_cells"
if workflow_maker.volume_custom_scale_factors is not None:
random_seed = random_seed + (len(workflow_maker.volume_custom_scale_factors)*len(workflow_maker.structure_list))
random_seed = random_seed + (
len(workflow_maker.volume_custom_scale_factors)
* len(workflow_maker.structure_list)
)
elif workflow_maker.n_structures is not None:
random_seed = random_seed + (workflow_maker.n_structures) * len(
workflow_maker.structure_list
Expand Down

0 comments on commit c59f853

Please sign in to comment.