Opened 9 years ago

Closed 9 years ago

#354 closed defect (fixed)

fitmap search error

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

Description

Maybe this map file is bad somehow. I assigned symmetry and wrote it out from Chimera1. I didn't have this problem with other maps, e.g. from molmap.

If I open the attached map (D2 symmetry) and then use commands

vol #1 level .008 color 50,50,50,50
open 1gcn
fit #2 in #1 search 5

Log says:
fitmap #2 inMap #1 search 5
Traceback (most recent call last):
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/chimerax/cmd_line/gui.py", line 167, in execute
cmd.run(cmd_text)
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/chimerax/core/commands/cli.py", line 2200, in run
results.append(ci.function(session, kw_args))
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/chimerax/core/map/fit/fitcmd.py", line 114, in fitmap
max_steps, grid_step_min, grid_step_max, log)
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/chimerax/core/map/fit/fitcmd.py", line 396, in fit_search
me, shift, rotate, max_steps, grid_step_min, grid_step_max, stop_cb)
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/chimerax/core/map/fit/search.py", line 65, in fit_search
volume.data.symmetries)
File "/Users/chimera/Applications/ChimeraX_Daily.app/Contents/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/chimerax/core/map/fit/search.py", line 388, in unique_symmetry_position
from ...geometry.place import distance
ImportError: cannot import name 'distance'

Attachments (1)

emdb8191-D2.cmp (25.1 MB ) - added by Elaine Meng 9 years ago.

Change History (3)

by Elaine Meng, 9 years ago

Attachment: emdb8191-D2.cmp added

comment:1 by Elaine Meng, 9 years ago

I guess it happens with any map that has a symmetry assignment. I successfully used search with a molmap map and then in ChimeraX assigned some symmetry to that map and then tried again, which failed with the error reported above.

comment:2 by Tom Goddard, 9 years ago

Resolution: fixed
Status: newclosed

Fixed.

I had not tested fit search using a map with symmetry assigned. Fit search uses the symmetry to eliminate symmetrically equivalent fit results.

Note: See TracTickets for help on using tickets.