Opened 8 years ago

Closed 8 years ago

#870 closed defect (fixed)

attribute error opening sample OME-TIFF data

Reported by: Elaine Meng Owned by: Tom Goddard
Priority: major Milestone:
Component: Input/Output Version:
Keywords: Cc:
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

From the OME-TIFF sample data page
https://docs.openmicroscopy.org/ome-model/5.5.7/ome-tiff/data.html

I downloaded 00001_01.ome.tiff ... takes a while, kinda large ... but when I tried to open it in ChimeraX, got this attribute error:

open 00*tiff
Traceback (most recent call last):
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/cmd_line/tool.py", line 188, in execute
cmd.run(cmd_text)
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/commands/cli.py", line 2499, in run
result = ci.function(session, kw_args)
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/commands/open.py", line 104, in open
models = handle_unknown_kw(session.models.open, paths, format=format, name=name,
kw)
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/commands/open.py", line 57, in handle_unknown_kw
return f(*args, kw)
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/models.py", line 439, in open
session, filenames, format=format, name=name,
kw)
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/io.py", line 435, in open_multiple_data
models, status = open_func(session, paths, name, kw)
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/map/volume.py", line 3286, in open_map_format
return open_map(session, stream, name=name, format=format,
kw)
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/map/volume.py", line 2983, in open_map
grids = data.open_file(map_path, file_type = format)
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/map/data/fileformats.py", line 132, in open_file
data = module.open(apath)
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/map/data/imagestack/init.py", line 41, in open
assign_series_and_channels(grids)
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/chimerax/core/map/data/imagestack/init.py", line 59, in assign_series_and_channels
fields = g.path.split('_')
AttributeError: 'tuple' object has no attribute 'split'

Change History (1)

comment:1 by Tom Goddard, 8 years ago

Resolution: fixed
Status: assignedclosed

Fixed.

Bug in new code that assigns channel/time value effecting 2D images.

Note: See TracTickets for help on using tickets.