AssertionError during CTF Refinement job: Field ctf/cs_nm is not constant in group 0

Hi @niu,

This is an odd issue- these values should be consistent, unless particles were joined that didn’t have the same values.

You can circumvent this by running your particles through the Exposure Group Utilities job:
https://cryosparc.com/docs/tutorials/ctf-refinement#exposure-groups
Set the combine strategy to take_median, explained here: Job: Exposure Group Utilities | CryoSPARC Guide

Please let me know if this works. Otherwise, you’ll have to manually open the .cs file, and set the value.
For more information on how to do this, see this guide:

And this post:

You can assign values like so:
CryoSPARC v4.0 and earlier

particle_dset.data['ctf/cs_mm'] = 2.7

CryoSPARC v4.1 and later

particle_dset['ctf/cs_mm'] = 2.7
2 Likes