-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Non-Latin symbols in channel names #4
Comments
Interesting. I'd vaguely guess that this is a problem with tifffile. Happy to take pull requests though, should you find a problem in our code, @plankter. |
My assumption is that an encoding in this code Line 301 in d0a7b5c
ascii instead of utf-8 . Then it works. This is due to https://github.com/cgohlke/tifffile/blob/75a11f2d781705a64151d3d329e47187e3be82a8/tifffile/tifffile.py#L1264 in tifffile , which states that "The subject of the image. Must be 7-bit ASCII." But I am also confused that it tells "Cannot be used with the ImageJ or OME formats."
|
Example MCD file with non-Latin channel name characters is available at |
To my understanding, this only applies to situations in which the OME-XML is generated by tifffile itself. As xtiff specifies the OME-XML as a |
Implemented this in v0.6.4, please upgrade |
I don't know if it is an issue with
tifffile
orxtiff
library, but when channel names contain non-Latin symbols thento_tiff
method crashes:xtiff/xtiff.py
Line 311 in d0a7b5c
The text was updated successfully, but these errors were encountered: