After a fresh installation, the test sequence fails at a point. This has been tested both on linux and windows.
Test image binning through multi-slice<<<<<<<<<<<
** Generating a sequence of test images
*** Showing one image
Traceback (most recent call last):
File "C:\Users\refyd\git_repositories\flap\tests\flap_tests.py", line 879, in
test_binning()
File "C:\Users\refyd\git_repositories\flap\tests\flap_tests.py", line 474, in test_binning
flap.slice_data('TEST_VIDEO',
File "C:\Users\refyd\anaconda3\lib\site-packages\flap-1.12.0-py3.9.egg\flap\data_object.py", line 4215, in slice_data
raise e
File "C:\Users\refyd\anaconda3\lib\site-packages\flap-1.12.0-py3.9.egg\flap\data_object.py", line 4213, in slice_data
ds=d.slice_data(slicing=slicing,summing=summing,options=options)
File "C:\Users\refyd\anaconda3\lib\site-packages\flap-1.12.0-py3.9.egg\flap\data_object.py", line 2254, in slice_data
new_data_object.__copy_data(d_slice,tuple(ind_out),tuple(ind))
File "C:\Users\refyd\anaconda3\lib\site-packages\flap-1.12.0-py3.9.egg\flap\data_object.py", line 783, in __copy_data
self.data[destination_ind] = source_object.data[source_ind]
ValueError: could not broadcast input array from shape (800,51,5) into shape (800,51,6)
After a fresh installation, the test sequence fails at a point. This has been tested both on linux and windows.
File "C:\Users\refyd\git_repositories\flap\tests\flap_tests.py", line 879, in
test_binning()
File "C:\Users\refyd\git_repositories\flap\tests\flap_tests.py", line 474, in test_binning flap.slice_data('TEST_VIDEO',
File "C:\Users\refyd\anaconda3\lib\site-packages\flap-1.12.0-py3.9.egg\flap\data_object.py", line 4215, in slice_data raise e
File "C:\Users\refyd\anaconda3\lib\site-packages\flap-1.12.0-py3.9.egg\flap\data_object.py", line 4213, in slice_data ds=d.slice_data(slicing=slicing,summing=summing,options=options)
File "C:\Users\refyd\anaconda3\lib\site-packages\flap-1.12.0-py3.9.egg\flap\data_object.py", line 2254, in slice_data new_data_object.__copy_data(d_slice,tuple(ind_out),tuple(ind))
File "C:\Users\refyd\anaconda3\lib\site-packages\flap-1.12.0-py3.9.egg\flap\data_object.py", line 783, in __copy_data self.data[destination_ind] = source_object.data[source_ind]
ValueError: could not broadcast input array from shape (800,51,5) into shape (800,51,6)