Assertion error with 3dva display jobs on v4.2.1

I’m getting the following errors when running 3dVA display jobs with v4.2.1

Traceback (most recent call last): File “cryosparc_master/cryosparc_compute/”, line 96, in File “cryosparc_master/cryosparc_compute/jobs/var3D/”, line 170, in File “/home/s2c_itrssberndsenlab/cryosparc/cryosparc_worker/cryosparc_compute/”, line 365, in ZT assert M % 2 == 0 AssertionError

Has anyone encountered this issue or know how to possible fix it?


Hi @ZTBioPhysics,

This may occur if either the “Downsample to box size” or “Crop to size (after downsample)” parameters are set to an odd number. CryoSPARC requires all box sizes to be even numbers, across all job types. Could you let us know the value of those parameter, and if they are odd, try setting those to even numbers (or leaving them empty)?


1 Like

Ah, well that explains it. Problem solved. I had an original box size of 450 and was downsampling to 225. Thank you!