LSSTDESC / ceci

Experimental pipeline prototype software
BSD 3-Clause "New" or "Revised" License
13 stars 9 forks source link

Add parallel map method #74

Closed joezuntz closed 2 years ago

joezuntz commented 2 years ago

This adds a helper method for parallelization, map_tasks_by_rank to the base stage.

This is based on Luca's use case in RAIL sed_generator.

codecov[bot] commented 2 years ago

Codecov Report

Merging #74 (d2eed45) into master (9c5fc7a) will not change coverage. The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master       #74   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           12        12           
  Lines         1447      1477   +30     
=========================================
+ Hits          1447      1477   +30     
Impacted Files Coverage Δ
ceci/stage.py 100.00% <100.00%> (ø)
ceci/config.py 100.00% <0.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 9c5fc7a...d2eed45. Read the comment docs.