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.
I just used cryosparc v3.3.1 to do Import Particle Stack from a star file extracted in Relion4.0-beta-2 (float16). Still got the following error. Does this new cryosparc version support float16?
Traceback (most recent call last):
File “cryosparc_master/cryosparc_compute/run.py”, line 85, in cryosparc_compute.run.main
File “/home/cryosparc/cryosparc2_master/cryosparc_compute/jobs/imports/run.py”, line 452, in run_import_particles
fig = plotutil.plot_images_simple(dispparts, rows=4, cols=8, radwn=6, figscale=1.5)
File “/home/cryosparc/cryosparc2_master/cryosparc_compute/plotutil.py”, line 588, in plot_images_simple
rD = img.get_original_real_data()
File “/home/cryosparc/cryosparc2_master/cryosparc_compute/particles.py”, line 22, in get_original_real_data
return self.blob.view().copy()
File “/home/cryosparc/cryosparc2_master/cryosparc_compute/blobio/mrc.py”, line 127, in view
return self.get()
File “/home/cryosparc/cryosparc2_master/cryosparc_compute/blobio/mrc.py”, line 122, in get
_, data, total_time = prefetch.synchronous_native_read(self.fname, idx_start = self.page, idx_limit = self.page+1)
File “cryosparc_master/cryosparc_compute/blobio/prefetch.py”, line 67, in cryosparc_compute.blobio.prefetch.synchronous_native_read
RuntimeError: dtype_to_bytes 462: Invalid argument
[arguments] /P16/J49/imported/011571886103612204036_project_1342_Dec03_09_15_20.mrcs, 0, 0, 90, 91, 2, 40
@hsnyder I have the same error even without writing in float16.
Traceback (most recent call last):
File “cryosparc_master/cryosparc_compute/run.py”, line 85, in cryosparc_compute.run.main
File “/lmb/home/miehling/software/csparc/cryosparc_master/cryosparc_compute/jobs/imports/run.py”, line 452, in run_import_particles
fig = plotutil.plot_images_simple(dispparts, rows=4, cols=8, radwn=6, figscale=1.5)
File “/lmb/home/miehling/software/csparc/cryosparc_master/cryosparc_compute/plotutil.py”, line 588, in plot_images_simple
rD = img.get_original_real_data()
File “/lmb/home/miehling/software/csparc/cryosparc_master/cryosparc_compute/particles.py”, line 22, in get_original_real_data
return self.blob.view().copy()
File “/lmb/home/miehling/software/csparc/cryosparc_master/cryosparc_compute/blobio/mrc.py”, line 127, in view
return self.get()
File “/lmb/home/miehling/software/csparc/cryosparc_master/cryosparc_compute/blobio/mrc.py”, line 122, in get
_, data, total_time = prefetch.synchronous_native_read(self.fname, idx_start = self.page, idx_limit = self.page+1)
File “cryosparc_master/cryosparc_compute/blobio/prefetch.py”, line 67, in cryosparc_compute.blobio.prefetch.synchronous_native_read
RuntimeError: dtype_to_bytes 462: Invalid argument
[arguments] /cephfs/asharma/cryosparc_jonas/P8/J100/imported/008476092680802014673_FoilHole_8631204_Data_8623863_8623865_20210409_211525_fractions.mrcs, 0, 0, 127, 128, 2, 40
Apologies for the delay. Support for 16 bit floating point will be deployed in the next cryoSPARC patch. I will reply to this topic again once the patch is available.
@yli18 Under these circumstances, please follow the patch instructions for worker patching under the Cluster tab. Worker patching involves both the crysparcm and cryosparcw commands, respectively, at specific steps of the procedure and a file cryosparc_worker_patch.tar.gz.
Please let us know any error messages you encounter during the procedure.
Hi, Thanks for the reply, indeed I need to use cryosparcm patch --force --download to have the patch, and then i copied cryosparc_worker_patch.tar.gz file under cryosparc_worker, and it seems working now, at least version matches. but when i run motioncorrection job with .eer file, i received this error:
Traceback (most recent call last):
File “/work/FAC/FBM/DMF/sgruber1/cryoem_gruber/cryosparc/cryosparc_worker/cryosparc_compute/jobs/pipeline.py”, line 53, in exec
return self.process(item)
File “cryosparc_master/cryosparc_compute/jobs/motioncorrection/run.py”, line 109, in cryosparc_compute.jobs.motioncorrection.run.run_rigid_motion_correction_multi.motionworker.process
File “cryosparc_master/cryosparc_compute/jobs/motioncorrection/run.py”, line 145, in cryosparc_compute.jobs.motioncorrection.run.run_rigid_motion_correction_multi.motionworker.process
File “/work/FAC/FBM/DMF/sgruber1/cryoem_gruber/cryosparc/cryosparc_worker/cryosparc_compute/blobio/mrc.py”, line 140, in read_mrc
data = read_mrc_data(file_obj, header, start_page, end_page, out)
File “/work/FAC/FBM/DMF/sgruber1/cryoem_gruber/cryosparc/cryosparc_worker/cryosparc_compute/blobio/mrc.py”, line 88, in read_mrc_data
dtype = mrc_datatype_to_dtype(datatype)
File “/work/FAC/FBM/DMF/sgruber1/cryoem_gruber/cryosparc/cryosparc_worker/cryosparc_compute/blobio/mrc.py”, line 65, in mrc_datatype_to_dtype
assert False,‘Unsupported MRC datatype: {0}’.format(datatype)
AssertionError: Unsupported MRC datatype: 1243414722
Marking J1/imported/007975918221406734972_FoilHole_17683150_Data_17681946_17681948_20220118_195424_EER.eer as incomplete and continuing…