Save settings: Difference between revisions
Jump to navigation
Jump to search
m (CmdException) |
(moved script to github) |
||
| Line 1: | Line 1: | ||
{{Infobox script-repo | |||
|type = Python Module | |||
|filename = save_settings.py | |||
|author = [[User:Speleo3|Thomas Holder]] | |||
|license = BSD-2-Clause | |||
}} | |||
[[save_settings]] is a prototype implementation to save all settings with non-default values to a file. | [[save_settings]] is a prototype implementation to save all settings with non-default values to a file. | ||
| Line 8: | Line 15: | ||
save_settings [ filename ] | save_settings [ filename ] | ||
== See Also == | == See Also == | ||
Revision as of 04:51, 14 February 2012
| Type | Python Module |
|---|---|
| Download | save_settings.py |
| Author(s) | Thomas Holder |
| License | BSD-2-Clause |
| This code has been put under version control in the project Pymol-script-repo | |
save_settings is a prototype implementation to save all settings with non-default values to a file.
By default settings will be stored to ~/.pymolrc-settings.py which is automatically recognised and loaded by PyMOL on startup. You have to manually delete the file if you no more want those settings to be loaded.
This answers a feature request on sourceforge.
Usage
save_settings [ filename ]