NoneType' object has no attribute 'dtype

closed

#1

Hi,

I encountered an error as shown in the subject when I ran Select 2D Classes with virus particles. The entire output message is below.

Traceback (most recent call last):
 File "cryosparc2_master/cryosparc2_compute/run.py", line 78, in cryosparc2_compute.run.main
File "cryosparc2_compute/jobs/select2D/run.py", line 231, in run
    particles_dset_exclude.filter_prefix('blob').to_file(os.path.join(proj_dir_abs, outpath_rel))
File "cryosparc2_compute/dataset.py", line 168, in filter_prefix
    self.filter_fields(name_test)
File "cryosparc2_compute/dataset.py", line 133, in filter_fields
    self.drop_fields(drop_names)
File "cryosparc2_compute/dataset.py", line 121, in drop_fields
    new_dtype_desc = [desc for desc in self.data.dtype.descr if desc[0] not in names]
AttributeError: 'NoneType' object has no attribute 'dtype'

Any suggestion will be appreciated.

Thanks,
Guobin


#2

Hi @GuobinHu,

Is it possible if you can copy+paste the json document in the “Metadata” tab of your Select2D job?


#3

Hi Stepahn,

Thanks for your response! It worked later somehow.

Guobin