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)
Change History (3)
by , 9 years ago
| Attachment: | emdb8191-D2.cmp added |
|---|
comment:1 by , 9 years ago
comment:2 by , 9 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Fixed.
I had not tested fit search using a map with symmetry assigned. Fit search uses the symmetry to eliminate symmetrically equivalent fit results.
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.