Re: [PyMOL] User data

2020-07-16 Thread Pedro Lacerda
Hi, I opted for > This works on all platforms: > os.path.expanduser("~/.pymol/myplugindata") > And it is working here: https://github.com/pslacerda/pymol-labimm/blob/f8d4906f89c0cae3f6c5b504cc78a9bbf70565d1/pymol_labimm/prefs.py#L40 Em seg., 15 de jun. de 2020 às 05:08, Thomas Holder < thomas.

Re: [PyMOL] User data

2020-06-15 Thread Thomas Holder
Hi Pedro, There is no designated infrastructure for this. Other plugins typically create their own directory in the user's home folder, like "~/.myplugindata". You could also create it inside the "~/.pymol" directory (like "~/.pymol/myplugindata"). This works on all platforms: os.path.expandus

[PyMOL] User data

2020-06-09 Thread Pedro Lacerda
Hi PyMOL users and developers, I have a plugin that needs to download data periodically. Where should I download to? By the way, I managed to get a plugin into a python package. https://github.com/pslacerda/pymol-labimm/blob/master/scripts/pymol_labimm.py -- Pedro Sousa Lacerda Laboratório de