Skip to content

Commit

Permalink
Merge branch 'main' of github.com:materialsvirtuallab/matcalc
Browse files Browse the repository at this point in the history
  • Loading branch information
Shyue Ping Ong committed Jul 26, 2023
2 parents 3d16698 + 6b92e06 commit 27f864f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion matcalc/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,5 @@ def calc_many(self, structures: Sequence[Structure], n_jobs: None | int = None)
Returns:
Generator of dicts.
"""
parallel = Parallel(n_jobs=2, return_as="generator")
parallel = Parallel(n_jobs=n_jobs, return_as="generator")
return parallel(delayed(self.calc)(s) for s in structures)

0 comments on commit 27f864f

Please sign in to comment.