datamol-io / datamol

Molecular Processing Made Easy.
https://docs.datamol.io
Apache License 2.0
462 stars 48 forks source link

add dm.parallelized_with_batches #103

Closed hadim closed 2 years ago

hadim commented 2 years ago

Checklist:


hadim commented 2 years ago

This is not the first time I needed such a function so likely best to have it here.

codecov[bot] commented 2 years ago

Codecov Report

Merging #103 (3d11175) into main (96f2e86) will increase coverage by 0.04%. The diff coverage is 88.88%.

@@            Coverage Diff             @@
##             main     #103      +/-   ##
==========================================
+ Coverage   83.73%   83.77%   +0.04%     
==========================================
  Files          48       48              
  Lines        3425     3452      +27     
==========================================
+ Hits         2868     2892      +24     
- Misses        557      560       +3     
Flag Coverage Δ
unittests 83.77% <88.88%> (+0.04%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
datamol/utils/jobs.py 97.39% <88.00%> (-2.61%) :arrow_down:
datamol/__init__.py 100.00% <100.00%> (ø)
datamol/utils/__init__.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 96f2e86...3d11175. Read the comment docs.