|
From: Mooers, B. H.M. (HSC) <Bla...@ou...> - 2016-02-11 15:18:33
|
Dear PyMOLers,
I am using incentive version 1.8.0.5. I made the following python script with an alias
from pymol import *
cmd.alias('q1', 'delete all;fetch 3v6d, HIVrt, type=pdb, async=0;preset.ball_and_stick("c. P and i. 822");zoom c. P and i. 822;rock')
Repeated entry of the alias name changes the color scheme of the atoms and toggles on and off the rocking motion.
Apparently, the settings are not reset with "delete all".
If I replace "delete all" with "remove all" or 'reinitialize", the command history windows shows the pdb file haveing been fetched but no molecular object show ups in the internal gui. In version 1.55, reinitialize works as expected.
It seems that the reinitialize needs a "pause until completed signal" like "async=0 " in fetch or the unix "&&".
Best regards,
Blaine
Blaine Mooers, Ph.D.
Assistant Professor
Director of the Laboratory of Biomolecular Structure and Function
Department of Biochemistry and Molecular Biology
University of Oklahoma Health Sciences Center
S.L. Young Biomedical Research Center Rm. 466
975 NE 10th Street, BRC 466
Oklahoma City, OK 73104-5419
|