Opened 6 years ago
Closed 6 years ago
#2182 closed defect (fixed)
Session restore for maps: KeyError: 'map ids'
| Reported by: | Owned by: | Tom Goddard | |
|---|---|---|---|
| Priority: | moderate | Milestone: | |
| Component: | Sessions | Version: | |
| Keywords: | Cc: | ||
| Blocked By: | Blocking: | ||
| Notify when closed: | Platform: | all | |
| Project: | ChimeraX |
Description
The following bug report has been submitted: Platform: Darwin-17.7.0-x86_64-i386-64bit ChimeraX Version: 0.91 (2019-07-07) Description Attempting to open any .cxs session file throws error: open /Users/lilliancohn/Desktop/test.cxs format session Unable to restore session, resetting. Traceback (most recent call last): File "/private/var/folders/68/6fvwdkt905nbdxq38lcr50000000gn/T/AppTranslocation/47146DB5-EEAE-4C4A-B293-A910C5424CBD/d/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/chimerax/core/session.py", line 629, in restore obj = sm.restore_snapshot(self, data) File "/private/var/folders/68/6fvwdkt905nbdxq38lcr50000000gn/T/AppTranslocation/47146DB5-EEAE-4C4A-B293-A910C5424CBD/d/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/chimerax/map/volume.py", line 3454, in restore_snapshot def restore_maps(trigger_name, session, mcs = mcs, map_ids = data['map ids']): KeyError: 'map ids' Log: Startup Messages --- note | available bundle cache has not been initialized yet UCSF ChimeraX version: 0.91 (2019-07-07) © 2016-2019 Regents of the University of California. All rights reserved. How to cite UCSF ChimeraX > open /Volumes/bark_external/google_drive/grad_school/db_lab/data/wall-e/20190613_exp4.4.2_timelapse/processed_data/4.4.2B1/4.4.2B1.4_bc.cxs Unable to restore session, resetting. Traceback (most recent call last): File "/private/var/folders/68/6fvwdkt905nbdxq38lcr50000000gn/T/AppTranslocation/47146DB5-EEAE-4C4A-B293-A910C5424CBD/d/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site- packages/chimerax/core/session.py", line 629, in restore obj = sm.restore_snapshot(self, data) File "/private/var/folders/68/6fvwdkt905nbdxq38lcr50000000gn/T/AppTranslocation/47146DB5-EEAE-4C4A-B293-A910C5424CBD/d/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site- packages/chimerax/map/volume.py", line 3454, in restore_snapshot def restore_maps(trigger_name, session, mcs = mcs, map_ids = data['map ids']): KeyError: 'map ids' opened ChimeraX session > open /Volumes/bark_external/google_drive/grad_school/db_lab/data/wall-e/20190613_exp4.4.2_timelapse/processed_data/4.4.2B1/4.4.2B1001_bc.tif Opened multichannel map series 4.4.2B1001_bc.tif, 3 channels, 17 images per channel, grid size 512,512,21, pixel 0.14,0.14,0.5, shown at step 1, values uint16 Empty filename passed to function Empty filename passed to function > save session /Users/lilliancohn/Desktop/test.cxs > close > open /Users/lilliancohn/Desktop/test.cxs format session Unable to restore session, resetting. Traceback (most recent call last): File "/private/var/folders/68/6fvwdkt905nbdxq38lcr50000000gn/T/AppTranslocation/47146DB5-EEAE-4C4A-B293-A910C5424CBD/d/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site- packages/chimerax/core/session.py", line 629, in restore obj = sm.restore_snapshot(self, data) File "/private/var/folders/68/6fvwdkt905nbdxq38lcr50000000gn/T/AppTranslocation/47146DB5-EEAE-4C4A-B293-A910C5424CBD/d/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site- packages/chimerax/map/volume.py", line 3454, in restore_snapshot def restore_maps(trigger_name, session, mcs = mcs, map_ids = data['map ids']): KeyError: 'map ids' opened ChimeraX session OpenGL version: 4.1 ATI-1.68.21 OpenGL renderer: AMD Radeon HD 6750M OpenGL Engine OpenGL vendor: ATI Technologies Inc.
Change History (2)
comment:1 by , 6 years ago
| Component: | Unassigned → Sessions |
|---|---|
| Owner: | set to |
| Platform: | → all |
| Priority: | normal → moderate |
| Project: | → ChimeraX |
| Status: | new → assigned |
| Summary: | ChimeraX bug report submission → Session restore for maps: KeyError: 'map ids' |
comment:2 by , 6 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Fixed.
ChimeraX session restore of multichannel image series was broken, apparently the code was changed and not tested.
Note:
See TracTickets
for help on using tickets.
Reported by Max Ferrin