QI2lab / merfish3d-analysis

3D MERFISH data processing
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

KeyError: 'registered_ufish_data' #11

Closed julianantolin closed 3 months ago

julianantolin commented 3 months ago

Description

I was running test_pixeldecode.py. I expected it to complete without error and return decoded images. It errored out on tile 62/63 and seems to have processed all previous tiles just fine. Could this be caused by corrupted data from when my machine crashed while running Zhuang postprocessing?

What I Did

Traceback (most recent call last):                                                                                                                                                                           
  File "/home/julian/wf-merfish/test_pixeldecode.py", line 30, in <module>
    decode_factory.run_decoding(lowpass_sigma=(0,0,0),
  File "/home/julian/miniconda3/envs/wf-merfish/lib/python3.10/site-packages/wf_merfish/postprocess/PixelDecoder.py", line 981, in run_decoding
    self._load_bit_data()
  File "/home/julian/miniconda3/envs/wf-merfish/lib/python3.10/site-packages/wf_merfish/postprocess/PixelDecoder.py", line 312, in _load_bit_data
    current_mask = np.asarray(current_bit["registered_ufish_data"], dtype=np.float32)
  File "/home/julian/miniconda3/envs/wf-merfish/lib/python3.10/site-packages/zarr/hierarchy.py", line 511, in __getitem__
    raise KeyError(item)
KeyError: 'registered_ufish_data'
dpshepherd commented 3 months ago

Yes.