Opened 6 years ago
Closed 6 years ago
#3090 closed defect (fixed)
open2 not handling TIFF stack correctly
| Reported by: | Owned by: | Eric Pettersen | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Input/Output | Version: | |
| Keywords: | Cc: | ||
| Blocked By: | Blocking: | ||
| Notify when closed: | Platform: | all | |
| Project: | ChimeraX |
Description
The following bug report has been submitted:
Platform: Darwin-19.4.0-x86_64-i386-64bit
ChimeraX Version: 0.94 (2020-04-20)
Description
open2 does not seem to open tif files while open works correctly.
Log:
UCSF ChimeraX version: 0.94.dev202004200102 (2020-04-20)
© 2016-2020 Regents of the University of California. All rights reserved.
How to cite UCSF ChimeraX
> open /Users/goddard/bennu/global_mosaic_4x.tif
Opened global_mosaic_4x.tif, grid size 12675,6338,1, pixel 1, shown at step 4,
values uint8
> open2 /Users/goddard/bennu/global_mosaic_4x.tif
Traceback (most recent call last):
File "/Users/goddard/Desktop/ChimeraX Apr 20
2020.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/cmd_line/tool.py", line 258, in execute
cmd.run(cmd_text)
File "/Users/goddard/Desktop/ChimeraX Apr 20
2020.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/commands/cli.py", line 2848, in run
result = ci.function(session, **kw_args)
File "/Users/goddard/Desktop/ChimeraX Apr 20
2020.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/open_command/cmd.py", line 86, in cmd_open
Command(session, registry=registry).run(provider_cmd_text, log=log)
File "/Users/goddard/Desktop/ChimeraX Apr 20
2020.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/core/commands/cli.py", line 2848, in run
result = ci.function(session, **kw_args)
File "/Users/goddard/Desktop/ChimeraX Apr 20
2020.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/open_command/cmd.py", line 124, in provider_open
opener_info.open, (session, paths, name), provider_kw)
File "/Users/goddard/Desktop/ChimeraX Apr 20
2020.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/open_command/cmd.py", line 355, in collated_open
return func(*func_args, **func_kw)
File "/Users/goddard/Desktop/ChimeraX Apr 20
2020.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/map/__init__.py", line 147, in open
return open_map(session, path, format=_name, **kw)
File "/Users/goddard/Desktop/ChimeraX Apr 20
2020.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/map/volume.py", line 3283, in open_map
grids = data.open_file(path, file_type = format, log = session.logger, **kw)
File "/Users/goddard/Desktop/ChimeraX Apr 20
2020.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/map/data/fileformats.py", line 144, in open_file
fmt = file_format_by_name(file_type)
File "/Users/goddard/Desktop/ChimeraX Apr 20
2020.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/map/data/fileformats.py", line 202, in file_format_by_name
raise ValueError('Unknown map file format %s' % name)
ValueError: Unknown map file format images
ValueError: Unknown map file format images
File "/Users/goddard/Desktop/ChimeraX Apr 20
2020.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-
packages/chimerax/map/data/fileformats.py", line 202, in file_format_by_name
raise ValueError('Unknown map file format %s' % name)
See log for complete Python traceback.
OpenGL version: 4.1 ATI-3.8.24
OpenGL renderer: AMD Radeon Pro Vega 20 OpenGL Engine
OpenGL vendor: ATI Technologies Inc.
Change History (2)
comment:1 by , 6 years ago
| Component: | Unassigned → Input/Output |
|---|---|
| Owner: | set to |
| Platform: | → all |
| Project: | → ChimeraX |
| Status: | new → accepted |
| Summary: | ChimeraX bug report submission → open2 not handling TIFF stack correctly |
comment:2 by , 6 years ago
| Resolution: | → fixed |
|---|---|
| Status: | accepted → closed |
Note:
See TracTickets
for help on using tickets.
format-name checking also needed to check against prefixes