Actions
Bug #14349
openmosaic tile adding thread does not lock autofinderlock well.
Start date:
02/14/2023
Due date:
% Done:
0%
Estimated time:
Affected Version:
Appion/Leginon 3.6
Show in known bugs:
No
Workaround:
Description
Got error
File "/Users/acheng/myami/leginon/mosaictargetfinder.py", line 195, in handleTargetListDone self.createMosaicImage(True) File "/Users/acheng/myami/leginon/mosaicexternalfinder.py", line 436, in createMosaicImage super(MosaicScoreTargetFinder, self).createMosaicImage(is_final) File "/Users/acheng/myami/leginon/mosaictargetfinder.py", line 894, in createMosaicImage self.mosaicimage = self.mosaic.getMosaicImage(maxdim) File "/Users/acheng/myami/leginon/mosaic.py", line 469, in getMosaicImage numtype = self.tiles[0].image.dtype IndexError: list index out of range
Updated by Anchi Cheng almost 2 years ago
Patch up the racing situation with a simple wait for mosaic.tiles to have at least one count. Don't know a better solution.
Actions