ValueError when running 3DVA with more than 1 component

Hello everyone,
I got a dataset of 400K particles in which 3DVA could find around three components.
After running a template-based motion correction job, 3DVA is only able to find one component (a nice-looking one), and the following error is raised if I ask for more:

Traceback (most recent call last):
File “cryosparc_master/cryosparc_compute/run.py”, line 95, in cryosparc_master.cryosparc_compute.run.main
File “cryosparc_master/cryosparc_compute/jobs/var3D/run.py”, line 550, in cryosparc_master.cryosparc_compute.jobs.var3D.run.run
File “/home/cryosparc/cryosparc2_worker/deps/anaconda/envs/cryosparc_worker_env/lib/python3.8/site-packages/matplotlib/pyplot.py”, line 2812, in plot
return gca().plot(
File “/home/cryosparc/cryosparc2_worker/deps/anaconda/envs/cryosparc_worker_env/lib/python3.8/site-packages/matplotlib/axes/_axes.py”, line 1690, in plot
self.add_line(line)
File “/home/cryosparc/cryosparc2_worker/deps/anaconda/envs/cryosparc_worker_env/lib/python3.8/site-packages/matplotlib/axes/_base.py”, line 2304, in add_line
self._update_line_limits(line)
File “/home/cryosparc/cryosparc2_worker/deps/anaconda/envs/cryosparc_worker_env/lib/python3.8/site-packages/matplotlib/axes/_base.py”, line 2327, in _update_line_limits
path = line.get_path()
File “/home/cryosparc/cryosparc2_worker/deps/anaconda/envs/cryosparc_worker_env/lib/python3.8/site-packages/matplotlib/lines.py”, line 1029, in get_path
self.recache()
File “/home/cryosparc/cryosparc2_worker/deps/anaconda/envs/cryosparc_worker_env/lib/python3.8/site-packages/matplotlib/lines.py”, line 681, in recache
self._x_filled[nanmask] = np.interp(
File “<array_function internals>”, line 5, in interp
File “/home/cryosparc/cryosparc2_worker/deps/anaconda/envs/cryosparc_worker_env/lib/python3.8/site-packages/numpy/lib/function_base.py”, line 1439, in interp
return interp_func(x, xp, fp, left, right)
ValueError: array of sample points is empty

This feels suspicious because I would expect another noisy component even if the variability decreases after template-based motion correction.

Lin

Welcome to the forum @Lin_Klu .
Please can you describe the chain of jobs starting at the reference-based motion correction and ending at the 3DVA job (with job types, other notable details).