Bug: 3DVA display (cluster) fails with skip reconstruction


In v4.4.0 and 4.4.1, 3D Variability Display job in cluster mode fails at the end when Skip reconstruction is enabled. It doesn’t fail in intermediate mode. The job still clusters particles and display the results, so it isn’t a huge problem.

Below is the last few lines of the event log of the failed display job. Looks like it tries to reconstruct then fails to zip the nonexistent maps.

Reconstructing Cluster 18 with 14567 particles
Reconstructing Cluster 19 with 14067 particles
zipping files to: /home/user/data1/cryosparc2_projects/P32/J804/J804_series_all_clusters.zip
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_disp.py", line 440, in cryosparc_master.cryosparc_compute.jobs.var3D.run_disp.run
UnboundLocalError: local variable 'bpref_small' referenced before assignment

Hi @kookjookeem,

Thanks for reporting! We are able to reproduce this and identify a fix to be deployed in an upcoming release.


1 Like