scanpy docs:
n_jobs : Optional[int] (default: None)
Number of threads to use in training. All cores are used by default.
magic docs:
n_jobs (integer, optional, default: 1) – The number of jobs to use for the computation. If -1 all CPUs are used. If 1 is given, no parallel computing code is used at all, which is useful for debugging.
scanpy code:
|
n_jobs = settings.n_jobs if n_jobs is None else n_jobs |
I'm guessing the scanpy docs are wrong when they say "All cores are used by default." ?
scanpy docs:
magic docs:
scanpy code:
scanpy/scanpy/external/pp/_magic.py
Line 164 in 536ed15
scanpy/scanpy/_settings.py
Line 82 in 536ed15
I'm guessing the scanpy docs are wrong when they say "All cores are used by default." ?