CTF determination error in 2.8. for failed micrograph


I getting the following error after CTF estimation:

Traceback (most recent call last):
File “cryosparc2_worker/cryosparc2_compute/run.py”, line 78, in cryosparc2_compute.run.main (/home/installtest/deps_manage/cryosparc2_package/deploy/stage/cryosparc2_worker/cryosparc2_compute/run.c:3954)
File “cryosparc2_compute/jobs/ctf/run.py”, line 269, in run_ctf_estimation
rc.output(‘micrographs_fail’, ‘ctf’, outpath_rel, 0, len(exposures_fail))
File “cryosparc2_compute/jobs/runcommon.py”, line 263, in output
result = com.query(job[‘output_results’], lambda r: r[‘group_name’] == group_name and r[‘name’] == name, error=“No output result named %s.%s in job.” % (group_name, name))
File “cryosparc2_compute/jobs/common.py”, line 297, in query
assert res != default, error
AssertionError: No output result named micrographs_fail.ctf in job.

If I run the same job in version 2.5 it runs through without that issue. Any idea?



HI @david.haselbach,

Thanks for reporting this. I’ve identified the error and hopefully the fix will make it to a release soon. Whats weird is that this job has not been changed between v2.5 and v2.8- this bug has existed for quite some time now. It seems like you’ve just come across this section of code since CTFFIND4 has failed processing one or more of your micrographs. Are you sure you were using the same dataset and parameters when you ran this job in 2.5? Either way, for the time being, I’d recommend using Patch CTF Estimation (new in cryoSPARC v2.8).