Bug #3550
closedCTFFIND failing for some micrographs
Change field size from 512 pixels to 256 pixels
Description
CTFFIND and Ctftilt are failing for seemingly random micrographs in datasets with the following error:
Starting image 1 ( skip:54, remain:776 ) id:3259216, file: 15sep10a_01sq
... Pixel size: 723.276
Found 0 ctf values
!!! WARNING: no best CTF value for image 15sep10a_01sq
... Xmag=69, dstep=5.00e-06, mpix=7.23e-08
Defocus search range: 28738951 A to 28788951 A (2873.90 to 2878.90 um)
... running ctf estimation at Sat Sep 12 10:32:09 2015
/data2/log-l/progs/myami/appion/bin/ctftilt64.exe
15sep10a_01sq.mrc
15sep10a_01sq-pow.mrc
2.7,300.0,0.07,69.129903384,5.0,2
512,100.0,10.0,28738951.6,28788951.6,500.0,500.0,-0.00249969375407,10
... ctf estimation completed in 429.47 msec
Traceback (most recent call last):
File "/data2/log-l/progs/myami/appion/bin/ctfestimate.py", line 449, in <module>
imgLoop.run()
File "/data2/log-l/progs/myami/appion/appionlib/appionLoop2.py", line 86, in run
results = self.loopProcessImage(imgdata)
File "/data2/log-l/progs/myami/appion/appionlib/appionLoop2.py", line 136, in loopProcessImage
return self.processImage(imgdata)
File "/data2/log-l/progs/myami/appion/bin/ctfestimate.py", line 317, in processImage
( nominaldf, self.ctfvalues['defocusinit']))
KeyError: 'defocusinit'
It then crashes and the micrograph needs to be hidden to process any other images.
Example command: ctfestimate.py --runname=ctffindrun1 --rundir=/data2/log-l/appion/15sep10a/ctf/ctffindrun1 --commit --projectid=6 --session=15sep10a --no-rejects --no-wait --continue --ampcarbon=0.15 --ampice=0.07 --fieldsize=512 --medium=ice --bin=2 --resmin=100 --resmax=10 --defstep=500 --numstep=50 --dast=500 --ctftilt --expid=14176 --jobtype=ctfestimate