mllg / batchtools

Tools for computation on batch systems
https://mllg.github.io/batchtools/
GNU Lesser General Public License v3.0
169 stars 51 forks source link

`batchMap()` requires named `more.args` arguments #267

Closed mtmorgan closed 3 years ago

mtmorgan commented 3 years ago

batchMap() requires its more.args arguments to be named at https://github.com/mllg/batchtools/blob/b4b92e1806d8fe78a537a101291999807aec2764/R/batchMap.R#L65 ; this is different from Map() or mapply(), for instance, and makes it more difficult to re-use batchtools as a 'back-end' for parallel processing, e.g., https://github.com/Bioconductor/DelayedArray/issues/72 and https://github.com/Bioconductor/BiocParallel/issues/123 .

Can this constraint on batchMap() be relaxed?

mllg commented 3 years ago

I've relaxed the assertion.