[Chimera-users] Place marker without raising path tracer dialog

Tom Goddard goddard at sonic.net
Wed Aug 5 18:53:04 PDT 2015

The “mc" shortcut places a marker at the center of rotation and shows the Volume Tracer dialog — there is no trick to avoid showing the Volume Tracer dialog.  The code that does this is in


(in Chimera.app/Contents/Resources/share on Mac) the routine

def mark_cofr():
  from VolumePath import place_marker, show_volume_path_dialog
  from chimera import openModels

from Accelerators import add_accelerator
add_accelerator('mc', 'Place marker at center of rotation', mark_cofr)

which is registered to be keyboard shortcut “mc”.  The show_volume_path_dialog() call shows the volume tracer dialog.  You could comment it out. But next time you update Chimera it would come back.

Given the special purpose stuff you like to make Chimera do you might find it easier to write bits of Python code to do exactly what you want.  For instance, you could make your own file of shortcuts that do the fancy stuff, for instance one could be the above mark_cofr() without showing the dialog.  You could have Chimera automatically load your custom shortcuts on start-up.


> On Aug 5, 2015, at 1:15 PM, Oliver Clarke  wrote:
> Ok no problem, thanks Tom.
> Incidentally - is there any way, when using “ac mc” to place a marker atom at the center of rotation, to prevent the volume tracer dialog being raised? 
> I use this command as part of an alias which I use for clipping the map in a sphere centered on the CoFR, and I will typically use this command repeatedly when navigating around a large map, so if such an option does exist it would be useful - I couldn’t find it in the documentation so I guess probably not?
> Cheers,
> Oliver.

More information about the Chimera-users mailing list