Let me be honest. It worked like an old car. Qt wasn't loaded so an error message appears because my plugin uses Qt. The plugin initialization failed.
Despite the message everything was ok and the preferences showed up. Em seg, 26 de out de 2020 13:21, Pedro Lacerda <[email protected]> escreveu: > It worked like a charm, thank you. > > Em seg., 26 de out. de 2020 às 04:37, Thomas Holder < > [email protected]> escreveu: > >> Hi Pedro, >> >> If you call `plugin_load` that will trigger initialization. >> >> pymol.plugins.plugin_load('yourplugin') >> value = pymol.plugins.pref_get('YOUPLUGIN_SOME_KEY') >> >> >> I feel like this plugin API is due for an overhaul, there are no great >> answers to your various questions :-/ >> >> Cheers, >> Thomas >> >> >> > On Oct 26, 2020, at 5:40 AM, Pedro Lacerda <[email protected]> wrote: >> > >> > Hi, >> > >> > How to use pref_get() on library mode. >> > >> > Or even better, how to use pref_get() even before library 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 >> > _______________________________________________ >> > PyMOL-users mailing list >> > Archives: http://www.mail-archive.com/[email protected] >> > Unsubscribe: >> https://sourceforge.net/projects/pymol/lists/pymol-users/unsubscribe >> >> -- >> Thomas Holder >> PyMOL Principal Developer >> Schrödinger, Inc. >> >> > > -- > 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 >
_______________________________________________ PyMOL-users mailing list Archives: http://www.mail-archive.com/[email protected] Unsubscribe: https://sourceforge.net/projects/pymol/lists/pymol-users/unsubscribe
