You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm experiencing an issue with hicDetectLoops, where it gives a ValueError. I'm using python version 3.10.14 and hicexplorer version 3.7.2. Here is the command I run:
hicDetectLoops -m E145_combine_10k.cool -o E145_combine_10k.loops.bedgraph --maxLoopDistance 2000000 --windowSize 10 --peakWidth 6 --pValuePreselection 0.05 --pValue 0.05
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/panzhiyuan/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/panzhiyuan/miniconda3/envs/hicexplorer/lib/python3.10/site-packages/hicexplorer/hicDetectLoops.py", line 368, in compute_long_range_contacts
candidates, _ = neighborhood_merge(
File "/home/panzhiyuan/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()
The text was updated successfully, but these errors were encountered:
Hi ,
I'm experiencing an issue with hicDetectLoops, where it gives a ValueError. I'm using python version 3.10.14 and hicexplorer version 3.7.2. Here is the command I run:
hicDetectLoops -m E145_combine_10k.cool -o E145_combine_10k.loops.bedgraph --maxLoopDistance 2000000 --windowSize 10 --peakWidth 6 --pValuePreselection 0.05 --pValue 0.05
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/panzhiyuan/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/panzhiyuan/miniconda3/envs/hicexplorer/lib/python3.10/site-packages/hicexplorer/hicDetectLoops.py", line 368, in compute_long_range_contacts
candidates, _ = neighborhood_merge(
File "/home/panzhiyuan/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()
The text was updated successfully, but these errors were encountered: