[chimerax-users] "fly" interrupting "turn"
Elaine Meng
meng at cgl.ucsf.edu
Mon Oct 11 11:33:32 PDT 2021
Hi Jacob,
In ChimeraX scripts, you have to specify waiting for multi-frame commands to finish (if that's what you want) before going to the next command. Some commands allow just putting "wait" after them without a number of frames, but many require also specifying the frames, e.g.
turn y 0.25 1440; wait 1440
(I think turn allows simply using "wait" but it doesn't hurt to include the number of frames.)
ChimeraX command files, see "concurrent vs. serial action":
<https://rbvi.ucsf.edu/chimerax/docs/user/commands/usageconventions.html#cxc-files>
wait command
<https://rbvi.ucsf.edu/chimerax/docs/user/commands/wait.html>
I hope this helps,
Elaine
-----
Elaine C. Meng, Ph.D.
UCSF Chimera(X) team
Department of Pharmaceutical Chemistry
University of California, San Francisco
> On Oct 11, 2021, at 9:59 AM, Anderson, Jacob via ChimeraX-users <chimerax-users at cgl.ucsf.edu> wrote:
>
> Dear ChimeraX Users,
> Making a movie with a CXC script/command file, I find that the "fly" command interrupts the "turn" command. For example if I run these two lines:
>
> turn y 0.25 1440
> fly Frame_01 400 Frame_02 400 Frame_03 400 Frame_04 400 Frame_05
>
> Before the turn completes, the view goes to Frame_01. Is this the expected behavior?
>
> If not, would love any tips on how to complete a turn of the molecular model before flying to Frame_01 (or p1 in the ChimeraX fly user help documentation).
> Jacob
More information about the ChimeraX-users
mailing list