filippocastelli / pyometiff

OME-TIFF IO in python
GNU General Public License v3.0
19 stars 4 forks source link

TiffFrame 1: missing required tags OME series: expected 1 frames, got 2 #4

Closed arjunrajanna closed 3 months ago

arjunrajanna commented 2 years ago

Hello,

Thank you very much for providing a smooth interface to open OME TIF.

When I try and open the .OME.TIFF file that I have, I get the following error: TiffFrame 1: missing required tags OME series: expected 1 frames, got 2

import pathlib from pyometiff import OMETIFFReader

img_fpath = pathlib.Path("/path_to_file/file.ome.tiff")

reader = OMETIFFReader(fpath=img_fpath)

img_array, metadata, xml_metadata = reader.read()

Your thoughts on this would be greatly appreciated!

Best,

filippocastelli commented 2 years ago

Hi! Would it possible to have the file? It would help me to investigate the issue