Bug #1180
closedhole finder exception in trying to pick to one hole for focusing but started with none anyway
0%
Description
Reported by Thorsten Mielke.
See also Forum thread http://emg.nysbc.org/boards/6/topics/865
Exception in thread Thread-8:
Traceback (most recent call last):
File "/usr/lib/python2.4/threading.py", line 442, in _bootstrap
self.run()
File "/usr/lib/python2.4/threading.py", line 422, in run
self._target(*self.__args, **self.__kwargs)
File "/home/acheng/myami/leginon/holefinder.py", line 262, in ice
focpoint = self.focus_on_hole(focus_points,focus_points)
File "/home/acheng/myami/leginon/holefinder.py", line 284, in focus_on_hole
cx,cy = self.centroid(all)
File "/home/acheng/myami/leginon/holefinder.py", line 279, in centroid
cx /= len(points)
ZeroDivisionError: float division
Updated by Anchi Cheng almost 14 years ago
r15364 fix this. The fix was made to jahcfinder but not holefinder.
r15365 did the same to 2.1 branch
Updated by Anchi Cheng almost 14 years ago
- Category set to Leginon subsystem
- Status changed from Assigned to In Code Review
- Assignee changed from Anchi Cheng to Jim Pulokas
- Priority changed from Urgent to Normal
- Target version set to Appion/Leginon 2.2.0
r15419 fix the same in branch 2.0
I've tested them. If you like the change, you can close it.
Updated by Jim Pulokas about 11 years ago
- Status changed from In Code Review to Closed
Updated by Anchi Cheng about 7 years ago
- Has duplicate Bug #1176: jahcfinder float division error on hole with thick ice? added