Hello,
I’m trying to run topaz that continually bugs out with an AssertionError that is similar to the post: “Topaz Train FileNotFound Error v5.0.1” with the exception of the fact that I am running a standalone topaz install (0.2.4) and cryosparc (4.7.1) and that this particular error seems to be referencing an inability to read the input .mrc headers. Strangely enough, Topaz runs without errors on micrographs denoised with “Micrograph Denoiser (BETA)” albeit, particle picks after training are very poor.
I’m starting to think that the topaz error might be due to a mismatch between the CryoSPARC and topaz versions (but I am not sure). What do you think?
Moreover, is there a way to update Topaz without installing a new version? If I have to create a fresh install of topaz would it be better/safer to put it into a new conda environment instead of overwriting the current version?
Lastly, I’ve noticed that Deep Picker is obsolete for CryoSPARC v5.0+. Is there a reason for that? In my experience, running the Deep Picker jobs freeze the Linux GUI.
Thanks in advance for your help,
Gregor
Topaz error below:
Traceback (most recent call last): File “cryosparc_master/cryosparc_compute/run.py”, line 129, in cryosparc_master.cryosparc_compute.run.main File “/home/cryosparcuser/Desktop/Cryosparc/cryosparc_worker/cryosparc_compute/jobs/topaz/run_topaz.py”, line 332, in run_topaz_wrapper_train utils.run_process(split_command) File “/home/cryosparcuser/Desktop/Cryosparc/cryosparc_worker/cryosparc_compute/jobs/topaz/topaz_utils.py”, line 99, in run_process assert process.returncode == 0, f"Subprocess exited with status {process.returncode} ({str_command})" AssertionError: Subprocess exited with status 1 (/home/cryosparcuser/anaconda3/envs/topaz/bin/topaz train_test_split --number 4 --seed 634579178 --image-dir /media/cryosparcuser/pathtoimages/…)
Looking at the log files I see:
File “/home/cryosparcuser/anaconda3/envs/topaz/lib/python3.6/site-packages/topaz/mrc.py”, line 134, in parse
Traceback (most recent call last):
topaz preprocess: error: the following arguments are required: files
multiprocessing.pool.RemoteTraceback:
File “/home/cryosparcuser/anaconda3/envs/topaz/lib/python3.6/multiprocessing/pool.py”, line 119, in worker
raise Exception(‘Unknown dtype mode:’ + str(header.model))
“”"
result = (True, func(*args, **kwds))
AttributeError: ‘MRCHeader’ object has no attribute ‘model’
Traceback (most recent call last):
File “/home/cryosparcuser/anaconda3/envs/topaz/lib/python3.6/site-packages/topaz/commands/normalize.py”, line 61, in _call_