Hi All,
I have an issue with csparc2star.py after the new update to cryosparc v3.31. I extracted particles in Relion, then imported them in Cryosparc where I did 2D classification. I would like to convert selected particles back into .star file, but I get the an error (copied below). I have done the same pipeline before the new cryosparc update and it worked fine.
Coordinates merge key: None
Traceback (most recent call last):
File "./csparc2star.py", line 120, in <module>
sys.exit(main(parser.parse_args()))
File "./csparc2star.py", line 71, in main
df = star.smart_merge(df, coord_star, fields=fields, key=key)
File "/home/rsarsam/Scripts/pyem-master-oct2020/pyem/star.py", line 143, in smart_merge
s2 = s2.set_index(key, drop=False)
File "/home/rsarsam/anaconda3/lib/python3.8/site-packages/pandas/core/frame.py", line 4727, in set_index
raise KeyError(f"None of {missing} are in the columns")
I am wondering which files is:
–i I input particle star file
–p P input star file with new paths
I extracted particles in Relion, and import the particles star from this extract job to Cryosparc for further 3D refinment.
Now I faced the problem to convert to star files with --copy-micrograph-coordinates.