Opened 9 years ago
Closed 9 years ago
#467 closed defect (fixed)
Density map toolbar thinks it is the mouse modes tool
| Reported by: | Owned by: | Greg Couch | |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | Tool Shed | Version: | |
| Keywords: | Cc: | ||
| Blocked By: | Blocking: | ||
| Notify when closed: | Platform: | all | |
| Project: | ChimeraX |
Description
Menu Tools / Toolbar / Density Map Toolbar gives this bizarre error where the shortcuts tool start_tool() method is called with the name of the mouse modes tool.
This is probably related to another bug where the Side View panel title is "Mouse Modes for Right Button".
File "/Users/goddard/ucsf/chimerax/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/chimerax/core/ui/gui.py", line 551, in <lambda>
tool_action.triggered.connect(lambda arg, ses=session, bi=bi: bi.start_tool(ses, tool_name))
File "/Users/goddard/ucsf/chimerax/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/chimerax/core/toolshed/init.py", line 1960, in start_tool
ti = f(session, tool_name, *args, kw)
File "/Users/goddard/ucsf/chimerax/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/chimerax/shortcuts/init.py", line 21, in start_tool
cls = panel_classes[tool_name]
KeyError: 'Mouse Modes for Right Button'
KeyError: 'Mouse Modes for Right Button'
File "/Users/goddard/ucsf/chimerax/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/chimerax/shortcuts/init.py", line 21, in start_tool
cls = panel_classes[tool_name]
See log for Python traceback.
Change History (2)
comment:2 by , 9 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Fixed. Had used value of variable from outer scope, which, of course, changed.