Project

General

Profile

Actions

Bug #14349

open

mosaic tile adding thread does not lock autofinderlock well.

Added by Anchi Cheng over 1 year ago. Updated over 1 year ago.

Status:
Assigned
Priority:
Normal
Assignee:
Category:
-
Target version:
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
Actions #1

Updated by Anchi Cheng over 1 year 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

Also available in: Atom PDF