Project

General

Profile

Actions

Bug #2004

open

ctf bug

Added by Scott Stagg over 12 years ago. Updated over 12 years ago.

Status:
In Test
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
08/17/2012
Due date:
% Done:

0%

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

Description

There seems to be another bug with the CTF estimation code:

Starting image 14 ( skip:2566, remain:5579 ) id:1467401, file: 12jun20b_grid8-2_043gr_01sq_013hl_02ex
 ... Pixel size: 0.65204
 ... Best CTF run info: runname='acerun2', confidence=0.778, defocus=2.744 um
 ... Best CTF run info: runname='acerun2', confidence=0.778, defocus=-2.744 um
214710.753941 1.4e-05 6.5204e-11
Defocus search range: 2436.0 A to 52436.0 A
 ... running ctf estimation at Fri Aug 17 15:36:48 2012
/panfs/storage.local/imb/stagg/software/rhel61/usr/local/bin/ctffind64.exe
12jun20b_grid8-2_043gr_01sq_013hl_02ex.mrc
12jun20b_grid8-2_043gr_01sq_013hl_02ex-pow.mrc
2.7,120.0,0.07,214710.753941,14.0,2
512,100.0,15.0,2436.0,52436.0,1000.0,100.0
 ... ctf estimation completed in 5.84 sec
nominal=1.9e-06, bestdef=2.7e-06,

def_1=5.8e-08, def_2=2.3e-07, astig_angle=38.7, cross_corr=0.020,

 ... reading MRC: 12jun20b_grid8-2_043gr_01sq_013hl_02ex-pow.mrc size:(512, 512) dtype:float32
 ... writing JPEG: 12jun20b_grid8-2_043gr_01sq_013hl_02ex-pow.jpg
 ==== Committing data to database ==== 
 ... Committing ctf parameters for 12jun20b_grid8-2_043gr_01sq_013hl_02ex to database
 ... Reading image...
Final params: def1: 5.85e-08 | def2: 2.25e-07 | angle: 38.7 | defratio 3.85
!!! WARNING: atypical defocus value 0.1 microns (underfocus is positive)
Traceback (most recent call last):
  File "/panfs/storage.local/imb/stagg/software/myami_dev/appion/bin/ctfestimate.py", line 398, in <module>
    imgLoop.run()
  File "/panfs/storage.local/imb/stagg/software/myami_dev/appion/appionlib/appionLoop2.py", line 77, in run
    self.loopCommitToDatabase(imgdata)
  File "/panfs/storage.local/imb/stagg/software/myami_dev/appion/appionlib/appionLoop2.py", line 124, in loopCommitToDatabase
    return self.commitToDatabase(imgdata)
  File "/panfs/storage.local/imb/stagg/software/myami_dev/appion/bin/ctfestimate.py", line 310, in commitToDatabase
    ctfinsert.validateAndInsertCTFData(imgdata, self.ctfvalues, self.ctfrun, self.params['rundir'])
  File "/panfs/storage.local/imb/stagg/software/myami_dev/appion/appionlib/apCtf/ctfinsert.py", line 43, in validateAndInsertCTFData
    ctfvalues = runCTFdisplayTools(imgdata, ctfvalues, opimagedir)
  File "/panfs/storage.local/imb/stagg/software/myami_dev/appion/appionlib/apCtf/ctfinsert.py", line 71, in runCTFdisplayTools
    ctfdisplaydict = ctfdisplay.makeCtfImages(imgdata, ctfvalues)
  File "/panfs/storage.local/imb/stagg/software/myami_dev/appion/appionlib/apCtf/ctfdisplay.py", line 944, in makeCtfImages
    ctfdisplaydict = a.CTFpowerspec(imgdata, ctfdata)
  File "/panfs/storage.local/imb/stagg/software/myami_dev/appion/appionlib/apCtf/ctfdisplay.py", line 825, in CTFpowerspec
    self.convertDefociToConvention(ctfdata)
  File "/panfs/storage.local/imb/stagg/software/myami_dev/appion/appionlib/apCtf/ctfdisplay.py", line 769, in convertDefociToConvention
    self.initfreq, self.cs, self.volts, self.ampcontrast)
  File "/panfs/storage.local/imb/stagg/software/myami_dev/appion/appionlib/apCtf/ctftools.py", line 164, in defocusRatioToEllipseRatio
    ellipratio = radii1[0]/radii2[0]
IndexError: list index out of range

Not sure what is causing this.

Actions

Also available in: Atom PDF