pySCENIC
                                
                                 pySCENIC copied to clipboard
                                
                                    pySCENIC copied to clipboard
                            
                            
                            
                        [results] Is there a way to control the parallel computing in python script instead of CLI version?
Hey,
I am wondering if there is a way to specify the core for the python function when running the function. I checked the arboreto package but it seems like there is no such a variable. If we use CLI, we an specify --num_workers but there is no equivalent way in python? Please let me know if I miss something.
Thanks!
Not the maintainer, but it's not clear what you are asking. Perhaps you can provide a more detailed description of what you are trying to do and provide code/commands.
Most functions accept a num_workers argument:
https://github.com/aertslab/pySCENIC/search?q=num_workers
https://github.com/aertslab/pySCENIC/blob/25a8211f900f73c8b0aacc717f7dc6d8419f95f5/src/pyscenic/cli/arboreto_with_multiprocessing.py#L146-L152