Re: [PyMOL] pref_get() on library mode

2020-10-26 Thread Pedro Lacerda
It worked like a charm, thank you. Em seg., 26 de out. de 2020 às 04:37, Thomas Holder < thomas.hol...@schrodinger.com> escreveu: > Hi Pedro, > > If you call `plugin_load` that will trigger initialization. > > pymol.plugins.plugin_load('yourplugin') > value =

Re: [PyMOL] pref_get() on library mode

2020-10-26 Thread Thomas Holder
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 >