Import particle.star Error (Unsupported MRC datatype: 12) from Relion4.0 beta

Hi All,

I started to use Relion4.0 beta and tried to import one particle.star into CryoSPARC, then I got the following error:

Traceback (most recent call last):
File “cryosparc_master/cryosparc_compute/run.py”, line 84, in cryosparc_compute.run.main
File “/data3/donghua/cryosparc/cryosparc_master/cryosparc_compute/jobs/imports/run.py”, line 438, in run_import_particles
dispparts.read_blobs(proj_dir_abs)
File “/data3/donghua/cryosparc/cryosparc_master/cryosparc_compute/particles.py”, line 93, in read_blobs
dtypes[rel_path] = mrc.mrc_datatype_to_dtype(hdr[‘datatype’])
File “/data3/donghua/cryosparc/cryosparc_master/cryosparc_compute/blobio/mrc.py”, line 57, in mrc_datatype_to_dtype
assert False,‘Unsupported MRC datatype: {0}’.format(datatype)
AssertionError: Unsupported MRC datatype: 12

Please help. Thanks!

I was using the default option “Yes” for “Write output in float16” during Relion4.0 beta Particle extraction. When I changed to No for this option, the importing of particles.star was fine. Maybe CryoSPARC can support the float16 in the future.

1 Like

Hi @donghuachen,

Thanks for bringing this to our attention. We can definitely add float16 support. Keep an eye on the release notes for upcoming patches!

–Harris

1 Like