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
Any update on this? I'm getting a similar error. I'm using the C/Cython method for deriving the overlaps and getting something like this:
File "C:/Users/PycharmProjects/MobNetMatchingGroup/main.py", line 139, in <module>
main()
File "C:/Users/PycharmProjects/MobNetMatchingGroup/main.py", line 130, in main
l_indices, r_indices = ncl_month.all_overlaps_both(april_2012_dataset.startTime.values, april_2012_dataset.endTime.values, april_2012_dataset.index.values)
File "ncls/src/ncls.pyx", line 75, in ncls.src.ncls.NCLS64.all_overlaps_both
cpdef all_overlaps_both(self,
File "ncls/src/ncls.pyx", line 116, in ncls.src.ncls.NCLS64.all_overlaps_both
output_arr = np.resize(output_arr, length)
File "<__array_function__ internals>", line 5, in resize
File "C:\Users\PycharmProjects\MobNetMatchingGroup\venv\lib\site-packages\numpy\core\fromnumeric.py", line 1425, in resize
raise ValueError('all elements of `new_shape` must be non-negative')
ValueError: all elements of `new_shape` must be non-negative
unsure what the fix might be, as this seems to be internal.
pyranges/pyranges#167
The text was updated successfully, but these errors were encountered: