Re: [PyMOL] pymol.finish_launching(['pymol', '-qc']) causes 100% CPU usage

2018-03-15 Thread Yang Su
Hi Thomas, It works! Thanks, Yang On Thu, Mar 15, 2018 at 3:29 AM, Thomas Holder < thomas.hol...@schrodinger.com> wrote: > Hi Yang, > > With PyMOL 2.1, "finish_launching" should not be necessary to use the > PyMOL API in jupyter notebook. PyMOL will now automatically start a backend > process

Re: [PyMOL] pymol.finish_launching(['pymol', '-qc']) causes 100% CPU usage

2018-03-15 Thread Thomas Holder
Hi Yang, With PyMOL 2.1, "finish_launching" should not be necessary to use the PyMOL API in jupyter notebook. PyMOL will now automatically start a backend process (without the GUI, like with "-c") in the main thread if you call any pymol.cmd function. Check out this screenshot:

[PyMOL] pymol.finish_launching(['pymol', '-qc']) causes 100% CPU usage

2018-03-14 Thread Yang Su
Dear List, I would like to use some of the pymol capabilities with my other python code in jupyter notebook. But after running import pymol pymol.finish_launching(['pymol', '-qc']) CPU usage stays at 100% for the python process. After pymol.cmd.quit() CPU usage returns to normal. I see the