Skip to content
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

ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all() #910

Open
mw18f opened this issue Oct 15, 2024 · 0 comments

Comments

@mw18f
Copy link

mw18f commented Oct 15, 2024

Hi, When I am running hicDetectLoops it occurs this error.
ERROR:hicexplorer.hicDetectLoops:The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()Traceback (most recent call last):
File "/home/miao/miniconda3/envs/hicexplorer/lib/python3.10/site-packages/hicexplorer/hicDetectLoops.py", line 900, in compute_loops
candidates, pValueList = compute_long_range_contacts(pHiCMatrix,
File "/home/miao/miniconda3/envs/hicexplorer/lib/python3.10/site-packages/hicexplorer/hicDetectLoops.py", line 368, in compute_long_range_contacts
candidates, _ = neighborhood_merge(
File "/home/miao/miniconda3/envs/hicexplorer/lib/python3.10/site-packages/hicexplorer/hicDetectLoops.py", line 479, in neighborhood_merge
if 'Fail: ' in new_candidate_list_threads[i]:
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()

I use conda to install hicexplorer, and version is 3.7.2. Python version is 3.10.13. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant