-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Overlap function met error using multi-cpus #298
Comments
I’ll have a look
…On Fri, 17 Mar 2023 at 03:41, ttbond ***@***.***> wrote:
Hi~
Pyranges is a really helpful python pacakge for my research! Many thanks!
But I have a problem, that is, when I use overlap function, the following
error is asserted:
File "/data/home/mySrc/xxx.py", line 168, in <module>
counter.countExon('baby1') File "/data/home/mySrc/xxx.py", line 145, in
countExoner if self.checkAnyGeneRela(tmpPrList): File
"/data/home/mySrc/xxx.py", line 125, in checkAnyGeneRela overRel =
refGenePr.overlap(myPr, nb_cpu=self.threads) # here, self.threads was
setted as 2 File
"/data/home/xutun/miniconda3/envs/myEnv/lib/python3.9/site-packages/pyranges/pyranges.py",
line 3494, in overlap dfs = pyrange_apply(_overlap, self, other, **kwargs)
File
"/data/home/xutun/miniconda3/envs/myEnv/lib/python3.9/site-packages/pyranges/multithreaded.py",
line 291, in pyrange_apply df, odf = make_binary_sparse(kwargs, df, odf)
File
"/data/home/xutun/miniconda3/envs/myEnv/lib/python3.9/site-packages/pyranges/multithreaded.py",
line 134, in make_binary_sparse odf = make_sparse(odf) File
"/data/home/xutun/miniconda3/envs/myEnv/lib/python3.9/site-packages/pyranges/multithreaded.py",
line 113, in make_sparse if "Strand" in df: TypeError: argument of type
'ray._raylet.ObjectRef' is not iterable
Actually, I tried different versions of python enviroment and none of them
works (with different problems related to ray).
—
Reply to this email directly, view it on GitHub
<#298>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEHURURCMPRPNIALMHJOFJLW4PFMNANCNFSM6AAAAAAV57LTSQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Ray has changed and there is little to be gained from using multiple CPUs. I wonder if I should consider removing the GPU argument instead of fixing this bug. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi~
Pyranges is a really helpful python pacakge for my research! Many thanks!
But I have a problem, that is, when I use overlap function, the following error is asserted:
Actually, I tried different versions of python enviroment and none of them works (with different problems related to ray).
Thanks again for developing such a valuable package. Look for your favorable reply.
The text was updated successfully, but these errors were encountered: