[PyMOL] Cmd: PyMOL lagging behind API requests...

2020-09-07 Thread Piter_
Hi. I try to run pymol via python in batch mode. It works fine if I define all variables in the python file. But it stops working when I send variables as cli arguments. With multiple messages like : Cmd: PyMOL lagging behind API requests... Any hints? Thanks. Petro. ___

Re: [PyMOL] [EXTERNAL] Cmd: PyMOL lagging behind API requests...

2020-09-07 Thread Mooers, Blaine H.M. (HSC)
Hi Petro, PyMOL is telling you to slow down the issuing of your commands. PyMOL needs time to catch up. Try importing the time module and using the sleep function at strategic places in your code https://www.datacamp.com/community/tutorials/python-time-sleep Best regards, Blaine Blaine Mooe