Inspect particle picks error - ValueError: range parameter must be finite

I got an error during inspect picks

[CPU: 196.3 MB]  Traceback (most recent call last):
  File "cryosparc2_master/cryosparc2_compute/", line 85, in
  File "cryosparc2_compute/jobs/manual_picker/", line 353, in run_inspect_simple
    ax.hist2d(xvals, yvals, bins=50, range=[[xmin,xmax],[ymin,ymax]])
  File "/home/mohammad/cryosparc2c/cryosparc2_master/deps/anaconda/lib/python2.7/site-packages/matplotlib/", line 1812, in inner
    return func(ax, *args, **kwargs)
  File "/home/mohammad/cryosparc2c/cryosparc2_master/deps/anaconda/lib/python2.7/site-packages/matplotlib/axes/", line 6327, in hist2d
    normed=normed, weights=weights)
  File "/home/mohammad/cryosparc2c/cryosparc2_master/deps/anaconda/lib/python2.7/site-packages/numpy/lib/", line 714, in histogram2d
    hist, edges = histogramdd([x, y], bins, range, normed, weights)
  File "/home/mohammad/cryosparc2c/cryosparc2_master/deps/anaconda/lib/python2.7/site-packages/numpy/lib/", line 749, in histogramdd
    'range parameter must be finite.')
ValueError: range parameter must be finite.

I got that error after: import micrographs -> CTF estimation -> exposure curation -> blob picking -> inspect particle picks.

My work around was to do extract from micrographs after blob picking.
I could do the following, and didn’t get an error on inspect picks.
… -> blob picking -> extract from micrographs -> 2D classification -> select templates -> template picking -> inspect picks

Suggestions for trouble shooting and what might be going on. Something in blob picks.

Actually inspect picks after template picking only worked with a subset of micrographs, but failed on all of them. There must be a “bad” micrograph. If I toggle off "Calibrate Pick score to CTF, “Calibrate Power score to CTF” in inspect picks the error goes away.

1 Like