Skip to content

Commit

Permalink
chore: fix n_jobs in docs build
Browse files Browse the repository at this point in the history
  • Loading branch information
cbouysset committed Mar 1, 2024
1 parent c74c045 commit faa9c2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prolif/fingerprint.py
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ def run(

converter_kwargs = converter_kwargs or ({}, {})
if n_jobs is None:
n_jobs = os.environ.get("PROLIF_N_JOBS", n_jobs)
n_jobs = int(os.environ.get("PROLIF_N_JOBS", 0)) or None
if residues == "all":
residues = list(Molecule.from_mda(prot, **converter_kwargs[1]).residues)
if n_jobs != 1:
Expand Down

0 comments on commit faa9c2e

Please sign in to comment.