Actions
Bug #11791
closedautofinder of the mosaic image starts before the last tile is added to the mosaic image display
Start date:
01/03/2022
Due date:
% Done:
0%
Estimated time:
Affected Version:
Appion/Leginon 3.6
Show in known bugs:
No
Workaround:
Description
createMosaicImage takes time to complete but it is not in the lock. Got this error:
File "/Users/acheng/myami/leginon/mosaictargetfinder.py", line 1112, in findSquareBlobs method='biggest', File "/Users/acheng/myami/pyami/imagefun.py", line 390, in find_blobs blobs = scipyblobs(image,tmpmask) File "/Users/acheng/myami/pyami/imagefun.py", line 315, in scipyblobs centers = scipy.ndimage.center_of_mass(im,labels,range(1,n+1)) File "/Users/acheng/miniconda/lib/python2.7/site-packages/scipy/ndimage/measurements.py", line 1267, in center_of_mass normalizer = sum(input, labels, index) File "/Users/acheng/miniconda/lib/python2.7/site-packages/scipy/ndimage/measurements.py", line 574, in sum count, sum = _stats(input, labels, index) File "/Users/acheng/miniconda/lib/python2.7/site-packages/scipy/ndimage/measurements.py", line 475, in _stats input, labels = numpy.broadcast_arrays(input, labels) File "/Users/acheng/miniconda/lib/python2.7/site-packages/numpy/lib/stride_tricks.py", line 94, in broadcast_arrays "incompatible dimensions on axis %r." % (axis,)) ValueError: shape mismatch: two or more arrays have incompatible dimensions on axis 0.
Actions