Issue with manually curate exposures in v 4.0

I ran a manually curate exposures job after CTFFIND4 job in cryosparc. The CTF fit resolution gives a following error:

CTF fit resolution (A):
[CPU: 322.6 MB]

	Min: 1.980	Max: 716.680
[CPU: 322.6 MB]

	Average: 42.459	Median: 3.895
[CPU: 323.5 MB]

Traceback (most recent call last):
  File "cryosparc_master/cryosparc_compute/run.py", line 93, in cryosparc_compute.run.main
  File "/home/hxn/software/cryosparc/cryosparc_master/cryosparc_compute/jobs/interactive/run_curate_exposures_v2.py", line 243, in run
    fig = plotutil.plot_hist(data, 'auto', xlabel=f'{field["title"]}', ylabel='Number of exposures')
  File "/home/hxn/software/cryosparc/cryosparc_master/cryosparc_compute/plotutil.py", line 1448, in plot_hist
    ax.hist(vals,bins=bins,range=range, rwidth=rwidth, density=density, cumulative=cumulative)
  File "/home/hxn/software/cryosparc/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.7/site-packages/matplotlib/__init__.py", line 1414, in inner
    return func(ax, *map(sanitize_sequence, args), **kwargs)
  File "/home/hxn/software/cryosparc/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.7/site-packages/matplotlib/axes/_axes.py", line 6641, in hist
    m, bins = np.histogram(x[i], bins, weights=w[i], **hist_kwargs)
  File "<__array_function__ internals>", line 6, in histogram
  File "/home/hxn/software/cryosparc/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.7/site-packages/numpy/lib/histograms.py", line 792, in histogram
    bin_edges, uniform_bins = _get_bin_edges(a, bins, range, weights)
  File "/home/hxn/software/cryosparc/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.7/site-packages/numpy/lib/histograms.py", line 396, in _get_bin_edges
    first_edge, last_edge = _get_outer_edges(a, range)
  File "/home/hxn/software/cryosparc/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.7/site-packages/numpy/lib/histograms.py", line 316, in _get_outer_edges
    "supplied range of [{}, {}] is not finite".format(first_edge, last_edge))
ValueError: supplied range of [1.9797790050506592, inf] is not finite

Is there a fix of this bug?

Hi @hxn, this should now be fixed in CryoSPARC v4.0.2. Thanks for reporting this issue! - Kelly

1 Like