Re: [PyMOL] Detect library mode

2020-11-02 Thread Pedro Lacerda
My plugin fail in library mode because it tries to add a Qt menu. Just an error message appears. If there is two init functions, one for GUI and other for CL, would work. __init_plugin__ __init_gui_plugin__ Em ter, 27 de out de 2020 21:00, Pedro Lacerda escreveu: > Hi, > > How to detect if we

[PyMOL] Detect library mode

2020-10-27 Thread Pedro Lacerda
Hi, How to detect if we are in the library mode or on the GUI mode? -- Pedro Sousa Lacerda Laboratório de Bioinformática e Modelagem Molecular / UFBA Mestrando em Ciências Farmácias / UEFS @pslacerda +55 71 9 9981-1856 http://lattes.cnpq.br/8338596525330907