Hi, I have the following problem importing particles…How can I solved it!!!
File "cryosparc_master/cryosparc_compute/run.py", line 84, in cryosparc_compute.run.main
File "/home/yunior/Yunior/Projects/cryoSPARC/cryosparc2/cryosparc_master/cryosparc_compute/jobs/imports/run.py", line 73, in run_import_particles
stardf = starfile.read_star_file(import_path)
File "/home/yunior/Yunior/Projects/cryoSPARC/cryosparc2/cryosparc_master/cryosparc_compute/metaio/starfile.py", line 90, in read_star_file
dataframe = pandas.concat(data_particles, join='inner', ignore_index=True)
File "/home/yunior/Yunior/Projects/cryoSPARC/cryosparc2/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.7/site-packages/pandas/core/reshape/concat.py", line 284, in concat
sort=sort,
File "/home/yunior/Yunior/Projects/cryoSPARC/cryosparc2/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.7/site-packages/pandas/core/reshape/concat.py", line 331, in __init__
raise ValueError("No objects to concatenate")
ValueError: No objects to concatenate
I recently encountered the same issue as originally posted in this thread but I found an apparent work-around which I wanted to share.
After having performed 2D classification in Relion (version: relion-3.1-beta-commit-699f3d) I wanted to re-import the particles into cryosparc (version v3.1.0+210216).
The .star file generated has indeed a different order than the one posted by @stephan , the coordinates were not in column 1 and 2.
These particles failed to import.
Importing particles before 2D classification (picked by cryolo, extracted in Relion) works just fine, however the coordinates are indeed in column 1 and 2.
I therefore manually modified the .star file after the 2D classification so that if follows the order of the .star file posted by Stephan. That fixed the issue and the particles now imported successfully.
Best regards,
Hagen
P.S.: Here the original .star file which did not work:
Hi guys, I have similar problem.
I have previously exported particles from relion and they worked fine in cryosparc. Now get the same error as @cfonseca. My .star file don’t have data_optics