
Hi Mungo, If I understand correctly, stringing the commands together with semicolons means to only show the result at the end. “...display is not redrawn until the last command in a semicolon-separated series has been executed.” <http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/usageconventions.html> I’d expect it to behave more like you want as two separate commands: display #0:30.A;wait 20 ~display #0:30.A … although perhaps that is more trouble to script. If this is just for “live” execution (not recording as a movie) the “sleep” command may be an alternative to “wait,” although it may also require using two separate commands. <http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/sleep.html> I hope this helps, Elaine ----- Elaine C. Meng, Ph.D. UCSF Computer Graphics Lab (Chimera team) and Babbitt Lab Department of Pharmaceutical Chemistry University of California, San Francisco On May 30, 2016, at 9:58 AM, Mungo Carstairs (Staff) <g.m.carstairs@dundee.ac.uk> wrote:
Hi,
I am trying to devise a way to highlight locations on a structure in Chimera while mousing over the sequence in Jalview.
My latest attempt tries to 'flash' the side-chain display at the residue position i.e. - hide then show atoms (if currently displayed e.g. display is in atom mode) - or show then hide atoms (if currently not displayed e.g. display is in ribbon mode)
I'm sending a command like display #0:30.A;wait 20;~display #0:30.A to the Rest service.
However while this seems to do what I want when used at the Chimera command line, via the Rest service it ignores the wait command, with the result that the action is too quick to see.
Any suggestions please for how to get this to work, or a better alternative?
Thanks,
Mungo