Project

General

Profile

Actions

Bug #2916

open

Ace 1 crashing

Added by Scott Stagg about 10 years ago. Updated about 10 years ago.

Status:
In Code Review
Priority:
Urgent
Assignee:
Category:
-
Target version:
-
Start date:
08/28/2014
Due date:
% Done:

0%

Estimated time:
Affected Version:
Appion/Leginon 3.1.0
Show in known bugs:
No
Workaround:

Description

Ace 1 is now crashing with a bug where it won't run unless a CTF value is already in the database. If we try to use ACE 1 to estimate micrographs that have not been estimated yet, it crashes with the error below:

Traceback (most recent call last):
  File "/panfs/storage.local/imb/stagg/software/myami_dev/appion/bin/pyace.py", line 246, in <module>
    imgLoop.run()
  File "/panfs/storage.local/imb/stagg/software/myami_dev/appion/appionlib/appionLoop2.py", line 90, in run
    results = self.loopProcessImage(imgdata)
  File "/panfs/storage.local/imb/stagg/software/myami_dev/appion/appionlib/appionLoop2.py", line 140, in loopProcessImage
    return self.processImage(imgdata)
  File "/panfs/storage.local/imb/stagg/software/myami_dev/appion/bin/pyace.py", line 113, in processImage
    acevalues = apMatlab.runAce(self.matlab, imgdata, self.params)
  File "/panfs/storage.local/imb/stagg/software/myami_dev/appion/appionlib/apMatlab.py", line 67, in runAce
    bestconf = ctfdb.calculateConfidenceScore(bestctfvalue)
  File "/panfs/storage.local/imb/stagg/software/myami_dev/appion/appionlib/apCtf/ctfdb.py", line 122, in calculateConfidenceScore
    conf1 = ctfdata['confidence']
TypeError: 'NoneType' object is unsubscriptable

If we estimate with a different estimator first, then ACE1 will work. This is a heavily used program at FSU, so a quick fix would be much appreciated.

Actions #1

Updated by Neil Voss about 10 years ago

  • Status changed from New to In Code Review
  • Assignee changed from Neil Voss to Scott Stagg

Sorry, I was away from work over the long weekend. This r18551 should fix it. I do not have Matlab to test this.

Actions

Also available in: Atom PDF