Assertion Error during Local Motion Correction

Hi I’m running cryoSPARC v3.3.1+211214 and on a larger local motion correction job (~7500 images) I’m getting an assertion error:

[CPU: 738.3 MB] Traceback (most recent call last):
File “cryosparc_worker/cryosparc_compute/”, line 85, in
File “cryosparc_worker/cryosparc_compute/jobs/motioncorrection/”, line 519, in

On smaller jobs with local motion correction in the same version I don’t get this error. Has anyone seen this before or have any ideas?


@hansenbry What type of non-local motion correction and other jobs did the data undergo, in which sequence, before being input to local motion correction? Did local motion correction fail on the first movie?

@wtempel I used Patch motion (multi) CTF correction, classification, and refinements on the data. The local motion correction fails around 2900 images into it

@hansenbry Can you identify a specific point in the input sequence that may have been corrupted and at which a job of this type consistently fails?

HI @wtempel sorry it took me so long to respond. I was doing some troubleshooting and needed to wait for the outputs to finish. It wasn’t consistent on when it would fail. The inputs were coming from cryoSPARC-Live though. So I thought maybe if I ran motion correction again on the data first that might fix the issue and it did. I took the cryoSPARC-Live output and did patch motion correction again then did local motion with the particles I had identified and it went through without error.

Have the same problem with patch motion correction performed in CryoSPARC live v3.3.2+220518. Linking the exported exposures to a local motion correction job fails with

Error occurred while processing S1/import_movies/000_Nov03_18.51.33.tif
Traceback (most recent call last):
File “/Local/app/cryosparc/cryosparc2_worker/cryosparc_compute/jobs/”, line 60, in exec
return self.process(item)
File “cryosparc_worker/cryosparc_compute/jobs/motioncorrection/”, line 221, in
File “cryosparc_worker/cryosparc_compute/jobs/motioncorrection/”, line 233, in
File “cryosparc_worker/cryosparc_compute/jobs/motioncorrection/”, line 234, in
File “cryosparc_worker/cryosparc_compute/jobs/motioncorrection/”, line 110, in

Marking as incomplete and continuing…

Traceback (most recent call last):
File “cryosparc_worker/cryosparc_compute/”, line 85, in
File “cryosparc_worker/cryosparc_compute/jobs/motioncorrection/”, line 362, in
AssertionError: First exposure failed with exception: < object at 0x7fb631ba9190>

Connecting the same micrographs from a non-live patch motion correction job works fine.