Bug #2944
closedTiltAlign picker crashing
0%
Description
Tiltpicker is crashing on a seemingly random image from my dataset (14oct05a). This is the second time this has happened-first time running through garibaldi rather than guppy fixed the problem, now both are crashing, strangely on a different pair of images. This is the error in both cases:
50 particles remain, 0.81 sec time remains, 16.15 msec per particle, 0.82 sec last 50 particles
... writing JPEG: guess-cross-ang0.7.jpg
Traceback (most recent call last):
File "/opt/myamisnap/bin/tiltAutoAligner.py", line 346, in <module>
imgLoop.run()
File "/opt/myamisnap/lib/appionlib/appionLoop2.py", line 97, in run
self.loopCommitToDatabase(imgdata)
File "/opt/myamisnap/bin/tiltAutoAligner.py", line 167, in loopCommitToDatabase
self.insertParticlePeakPairs(imgdata, tiltdata, transdata)
File "/opt/myamisnap/bin/tiltAutoAligner.py", line 181, in insertParticlePeakPairs
imgdata, tiltdata, transdata, self.params['runname'])
File "/opt/myamisnap/lib/appionlib/apParticle.py", line 171, in insertParticlePeakPairs
apDisplay.timeString((time.time() - t0)/count*(len(peaktree1)-count)),
ZeroDivisionError: float division
guppy path: /ami/data15/appion/14oct05a/tiltalign/autotiltrun3
garibaldi path: /ami/data15/appion/14oct05a/tiltalign/autotiltrun6
Updated by Anchi Cheng about 10 years ago
- Status changed from New to In Code Review
- Assignee set to Neil Voss
r18607 fixed this. When the number of peaktree1 is multiple of 50, the first count (0) caused the division error.
Updated by Emily Greene about 10 years ago
I ran the tilt picker successfully on that dataset today, thanks Anchi!
Updated by Neil Voss about 10 years ago
- Project changed from 5 to Appion
- Affected Version set to Appion/Leginon 2.2.0
- Show in known bugs set to No
Updated by Neil Voss about 10 years ago
- Status changed from In Code Review to Closed
- Assignee deleted (
Neil Voss)
look good