When I try to import a particle star file from a polishing job executed in relion 3.1, I get the attached error. It seems like CSPARC is trying to confirm the offsets from Angstroms to pixels and failing. If I manually change the column labels in the star file to rlnOriginX/rlnOriginY instead of rlnOriginXAngst/rlnOriginYAngst it imports correctly.
[CPU: 290.4 MB] Traceback (most recent call last):
File “cryosparc_master/cryosparc_compute/run.py”, line 84, in cryosparc_compute.run.main
File “/usr/local/cryosparc/cryosparc2_master/cryosparc_compute/jobs/imports/run.py”, line 307, in run_import_particles
poseds.data[‘shift’][idx] = make_shift_rln(starrow)
ValueError: could not broadcast input array from shape (2,100000) into shape (2)
Read the first post - change rlnOriginX /rlnOriginY to rlnOriginXAngst /rlnOriginYAngst in the star file. If you really need the offsets to be right (for local refinement, for example) you may also need to do some math on the values