Project

General

Profile

Actions

Bug #1180

closed

hole finder exception in trying to pick to one hole for focusing but started with none anyway

Added by Anchi Cheng over 13 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Leginon subsystem
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


Related issues 2 (0 open2 closed)

Related to Leginon - Bug #1181: strange holefinder.py edge-template correlation failureClosedAnchi Cheng02/09/2011

Actions
Has duplicate Leginon - Bug #1176: jahcfinder float division error on hole with thick ice?Duplicate02/07/2011

Actions
Actions #1

Updated by Anchi Cheng over 13 years ago

r15364 fix this. The fix was made to jahcfinder but not holefinder.

r15365 did the same to 2.1 branch

Actions #2

Updated by Anchi Cheng about 13 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.

Actions #3

Updated by Jim Pulokas over 10 years ago

  • Status changed from In Code Review to Closed
Actions #4

Updated by Anchi Cheng over 6 years ago

  • Has duplicate Bug #1176: jahcfinder float division error on hole with thick ice? added
Actions

Also available in: Atom PDF