Skip to content

Commit

Permalink
Update joback estimator script to run in parallel
Browse files Browse the repository at this point in the history
  • Loading branch information
CalebBell committed Nov 11, 2024
1 parent 122dcf9 commit 097c250
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev/predictions/generate_joback_predictions.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def generate_line(CASi):



retVals = Parallel()(delayed(generate_line)(CASi) for CASi in sorted(pubchem_db.CAS_index))
retVals = Parallel(n_jobs=16, batch_size=500, backend='multiprocessing')(delayed(generate_line)(CASi) for CASi in sorted(pubchem_db.CAS_index))
for l in retVals:
if l is not False:
lines.append(l)
Expand Down

0 comments on commit 097c250

Please sign in to comment.