mnnpy
mnnpy copied to clipboard
Unexpected keyword argument {'n_jobs' ...}
I am running the function on my jupyter python 3.9 notebook, and I always see this TypeError: Unexpected keyword argument {'n_jobs: [# of my cpu cores]}
I am really not sure what is going on here.
@yjkweon24 Same issue and looking for solutions. Did you solve it?
I'm calling mnn_correct through the scanpy.external wrapper, and was having the same issue. Solution would be to go through mnn.py and utils.py, replacing every instance of "n_jobs" with "workers", then setting "workers=[number of cpu cores] in the mnn_correct call. Seems like n_jobs is deprecated in scipy in favour of workers (see #49).