Hi Troels,

Try putting your script inside a 'python' block:

python
your commands here...
python end

PyMOL also has a 'sync' command (http://pymolwiki.org/index.php/Sync).
I prefer python blocks.

Cheers,

-- Jason

2011/8/23 Troels Emtekær Linnet <[email protected]>:
> Hi.
>
> If one writes a pymol script, and calls an external function, the pymol
> script continues its operation before waiting for the "success" of the
> external function.
>
> Is it possible to give a keyword, so it "waits" for the external function
> before preceding?
>
> Kind of the same function with:
> fetch 1hp1, async=0
>
> Best
> Troels
>
> ------------------------------------------------------------------------------
> Get a FREE DOWNLOAD! and learn more about uberSVN rich system,
> user administration capabilities and model configuration. Take
> the hassle out of deploying and managing Subversion and the
> tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
>
> _______________________________________________
> PyMOL-users mailing list ([email protected])
> Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
> Archives: http://www.mail-archive.com/[email protected]
>



-- 
Jason Vertrees, PhD
PyMOL Product Manager
Schrodinger, LLC

(e) [email protected]
(o) +1 (603) 374-7120

------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
_______________________________________________
PyMOL-users mailing list ([email protected])
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/[email protected]

Reply via email to