GradinaruLab / useqfish_analysis

GNU General Public License v3.0
2 stars 1 forks source link

Pyometiff read_ome_tiff throwing warnings #11

Open jvendemiatti opened 2 years ago

jvendemiatti commented 2 years ago

It seems to be working and reading the metadata, but it's throwing out: Key not found: list index out of range Key not found: list index out of range key not found list index out of range Key not found: list index out of range

Gemmavdv commented 1 year ago

Still having this issue

minjeejang commented 1 year ago

Could you give me a bit more detail on this warning?

Gemmavdv commented 1 year ago

Hi minjeejang,

I realised this is not your warning to solve, since it is part of the basic usage of pyometiff. But for completeness, hereby:

from pyometiff import OMETIFFReader
pyometiff.__version__
>>> '0.0.13'
data_directory = '/home/user/Data'
img_file_path = pathlib.Path(f"{data_directory}/sample.ome.tif")
reader = OMETIFFReader(fpath=img_file_path)
img_array, metadata, xml_metadata = reader.read()
>>>Key not found: list index out of range
>>>Key not found: list index out of range
>>>key not found list index out of range
>>>Key not found: list index out of range