CryoSPARC-tools - crYOLO picker error

Last year I prepared a script for particle picking with crYOLO (adopted from tutorial).

I have not used it for some time, and now I get the following error:

Traceback (most recent call last):
  File "crYOLO_particlepicker.py", line 59, in <module>
    all_micrographs = job.load_input("all_micrographs", ["micrograph_blob"])
  File "/home/perun-d12/anaconda3/envs/cryolo/lib/python3.8/site-packages/cryosparc/job.py", line 357, in load_input
    return Dataset.load(response)
  File "/home/perun-d12/anaconda3/envs/cryolo/lib/python3.8/site-packages/cryosparc/dataset.py", line 513, in load
    raise TypeError(f"Could not determine dataset format for file {file} (prefix is {prefix})")
TypeError: Could not determine dataset format for file <http.client.HTTPResponse object at 0x7feb711698e0> (prefix is b'\x95CSDAT')

Does any have an idea of what is the problem?

[Edited: command corrected]
@Poko18 What are the installed versions of

  • CryoSPARC
    cat /path/to/cryosparc_master/version
    
  • cryosparc-tools
    python -c "import cryosparc.tools;print(cryosparc.tools.__version__)"
    

CryoSPARC version is v4.4.1, and cryosparc.tools is 4.2.0

You may need to upgrade cryosparc-tools to match the minor version of your CryoSPARC instance.

1 Like

Version update work. Was not sure it follows CryoSPARC versions. Thanks!