Re: [PyMOL] How to hold/wait for some time?

2020-08-31 Thread Tamas Hegedus
few seconds. However, nothing come out on the Pymol interface. -- Original -- *From:* "Tamas Hegedus" ; *Date:* Tue, Sep 1, 2020 02:21 AM *To:* "pymol-users"; *Subject:* Re: [PyMOL] How to hold/wait for some time? This one? https://www.tutor

Re: [PyMOL] How to hold/wait for some time?

2020-08-31 Thread ZHANG Cheng
Not work. time.sleep( 5 )  did not outpput any error, but freeze for a few seconds. However, nothing come out on the Pymol interface. -- Original -- From:

Re: [PyMOL] How to hold/wait for some time?

2020-08-31 Thread Tamas Hegedus
This one? https://www.tutorialspoint.com/python/time_sleep.htm On 8/31/20 7:51 PM, ZHANG Cheng wrote: I use the command below, trying to display the object one by one, with 2 seconds in between. So how to "wait for 2 seconds"? from pymol import cmd cmd.enable('protein_1') # how to hold for 2 s

[PyMOL] How to hold/wait for some time?

2020-08-31 Thread ZHANG Cheng
I use the command below, trying to display the object one by one, with 2 seconds in between. So how to "wait for 2 seconds"? from pymol import cmd cmd.enable('protein_1') # how to hold for 2 seconds?  cmd.disable('protein_1') cmd.enable('protein_2') # how to hold for 2 seconds?   cmd.disable('pr