OMETIFF.jl
OMETIFF.jl copied to clipboard
Imspectorpro ome.tif file: ERROR: KeyError: key "Type" not found
I have .ome.tif files exported from lavision biotec's imspectorpro.
using FileIO
tf = load("pathto.ome.tif")
Top part of stack-trace
Fatal error:
ERROR: KeyError: key "Type" not found
Stacktrace:
[1] getindex(node::EzXML.Node, attr::String)
@ EzXML ~/.julia/packages/EzXML/ZNwhK/src/node.jl:1200
[2] load(io::Stream{DataFormat{:OMETIFF}, IOStream, String}; dropunused::Bool, inmemory::Bool)
@ OMETIFF ~/.julia/packages/OMETIFF/xqGQs/src/loader.jl:57
[3] #30
@ ~/.julia/packages/OMETIFF/xqGQs/src/loader.jl:3 [inlined]
[4] open(f::OMETIFF.var"#30#31"{Bool, Bool}, args::File{DataFormat{:OMETIFF}, String}; kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ Base ./io.jl:330
[5] open
@ ./io.jl:328 [inlined]
[6] #load#29
@ ~/.julia/packages/OMETIFF/xqGQs/src/loader.jl:2 [inlined]
[7] load(f::File{DataFormat{:OMETIFF}, String})
@ OMETIFF ~/.julia/packages/OMETIFF/xqGQs/src/loader.jl:2
[8] #invokelatest#2
@ ./essentials.jl:708 [inlined]
[9] invokelatest
@ ./essentials.jl:706 [inlined]
[10] action(::Symbol, ::Vector{Union{Base.PkgId, Module}}, ::Formatted; options::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
Is there something I'm doing wrong or is this kind of tif not supported in ometiff? I can load with no problem in python tiffile.