MASHUOA / HiTMaP

An R package of High-resolution Informatics Toolbox for Maldi-imaging Proteomics
GNU General Public License v3.0
15 stars 12 forks source link

Change `detectcore` function for cluster computation #11

Closed yufree closed 8 months ago

yufree commented 8 months ago

Hi, I wonder if you could change the core detection function from detectcore() to future::availableCores() as the former function will return all the core number on the cluster node instead of the request core numbers(see details here). Meanwhile, the BiocParallel function will also use detectcore() for default settings. Thanks.

MASHUOA commented 8 months ago

Thanks for reminding me. The code has been modified accordingly.