ZeroDivisionError: float division by zero in local refinement

Greeting there,

I am running the local refinement but come across error as below. I searched previous posts and find some posts mentioned same error in different type of job.
How could I debug to run the local refinement?

Thanks in advance,
Yanhe

[CPU: 16.32 GB] Traceback (most recent call last):
File “cryosparc_worker/cryosparc_compute/run.py”, line 85, in cryosparc_compute.run.main
File “cryosparc_worker/cryosparc_compute/jobs/local_refine/newrun.py”, line 190, in cryosparc_compute.jobs.local_refine.newrun.run_local_refine
File “/app/cryosparc_worker/cryosparc_compute/newfourier.py”, line 423, in resample_resize_trilinear
N_resample, psize_final = calc_resample_sizes(N, psize_in, psize_out)
File “/app/cryosparc_worker/cryosparc_compute/newfourier.py”, line 409, in calc_resample_sizes
psize_final = extent_in / N_resample
ZeroDivisionError: float division by zero

Hi Yanhe,

Please can you post

  • a screenshot of the job’s inputs
  • non-default job parameters

Hi Wolfram,

I have it solved by changing the mask used in the job running.
I am a cryoET guy, and always use Matlab for mask generation, I turn to tutorial by cryoSPARC and works now.
Anyway, thanks a lot.

Could you please answer my another post about NU refinement? I thought it is because of the box size problem, am I correct?

Thanks and best,
Yanhe