when loading only one image, wrong scrollbar and crash
Create experiment and load a single image file. Back at GUI mainwindow, select Find Peaks
.
The horizontal scroll bar below the detector image is not full length - which it should because there is nothing to scroll. Also, the associated spin box allows to switch between "0" and "1". So there is a bug in the handling of frame indices.
Also the spin boxes First detector image
and Last detector image
have range 0..1.
Select Peak search parameters > apply threshold to peaks
. Move the scroll bar, or act on the spinbox. OpenHKL crashes. Terminal message
terminate called after throwing an instance of 'std::out_of_range'
what(): vector::_M_range_check: __n (which is 1) >= this->size() (which is 1)
Edited by Wuttke, Joachim