madsen-lab / valiDrops

16 stars 5 forks source link

rank_barcodes() uses all available cores #10

Closed rrydbirk closed 12 months ago

rrydbirk commented 1 year ago

I discovered this when I tried to run valiDrops in parallel which caused hangs. As far as I can see, rank_barcodes() uses all available cores. I can't see which function inside the call causes this.

JesperGrud commented 12 months ago

This is due to the segmented package. There are no parameter to set which limits the use of cores. If one appears in future versions, we will update to allow users to manage cores.