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/run.py”, line 96, in cryosparc_compute.run.main File “cryosparc_master/cryosparc_compute/jobs/var3D/run_disp.py”, line 170, in cryosparc_compute.jobs.var3D.run_disp.run File “/home/s2c_itrssberndsenlab/cryosparc/cryosparc_worker/cryosparc_compute/newfourier.py”, line 365, in ZT assert M % 2 == 0 AssertionError

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

Thanks

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)?

Best
Michael

1 Like

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