Actions
Bug #1180
closedhole finder exception in trying to pick to one hole for focusing but started with none anyway
Status:
Closed
Priority:
Normal
Assignee:
Category:
Leginon subsystem
Target version:
Start date:
02/09/2011
Due date:
% Done:
0%
Estimated time:
Affected Version:
Appion/Leginon 2.1.0
Show in known bugs:
No
Workaround:
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
Actions