On Wed, 2010-06-09 at 16:44 +0100, Judit Debreczeni wrote: > Not sure what you'd like to achieve, but perhaps the > map_molecule_chooser_gui is what you are looking for. >
Thanks - exactly what I was looking for (and molecule_chooser_gui too!). Is there some to invoke an atom-picking event from python script? Something that would ask for user to click on some atom and then either return the atom id or call a function. Or just wait until atom is clicked and then proceed, since one can always get the current selection via active_residue(). There is residue_range_gui, but it's (probably) just to show a range selector dialog. All I found in the manual is clear_pending_picks(), but what I want is the opposite. Cheers, Ed. -- Coot verendus est