[PyMOL] scripts with fetch

2010-05-04 Thread Michael Zimmermann
Dear PyMOL users, I was just making a script to selectively download sections of PDB files using fetch. When I run the pml from the GUI I see that all of the commands are executed and then the structure called by fetch is loaded. Is there any way to force the other commands to wait until fetch

Re: [PyMOL] scripts with fetch

2010-05-04 Thread Marius Retegan
Just a wild guess fetch 1htr, async=0 Marius On Tue, May 4, 2010 at 10:58 PM, Michael Zimmermann micha...@iastate.eduwrote: Dear PyMOL users, I was just making a script to selectively download sections of PDB files using fetch. When I run the pml from the GUI I see that all of the commands

Re: [PyMOL] scripts with fetch

2010-05-04 Thread Michael Zimmermann
Thank you Marius, that does appear to do the job. I guess this tip is sortof present on the wiki page for fetch, but I didn't understand it as written. Sincerely, Mike On Tue, May 4, 2010 at 4:13 PM, Marius Retegan marius.s.rete...@gmail.comwrote: Just a wild guess fetch 1htr, async=0

Re: [PyMOL] scripts with fetch

2010-05-04 Thread Marius Retegan
I guess this is a general thing in pymol, i.e. if async is 1 your command is going to be spawned in another thread, so you keep working while it's executed. With async = 0 things are executed in the main thread. On Tue, May 4, 2010 at 11:24 PM, Michael Zimmermann micha...@iastate.eduwrote: