| Home | Trees | Indices | Help |
|
|---|
|
|
This modules implements the procedures that handles nMOLDYN PREFERENCES.
Procedures:
* saveConfigurationFile: saves a PREFERENCES file.
* loadConfigurationFile: loads a PREFERENCES file.
|
|||
|
|||
|
|||
|
|||
Saves |config| configuration to |cfgFilename| file name.
@param cfgFilename: if not None, the name of the PREFERENCES file to save else the configuration file
will be saved to a plat-form dependant location:
-$USERPROFILE/Application Data/nMOLDYN/nMOLDYN.ini on Windows
-$HOME/Library/Preferences/nMLDYN/nMOLDYN.pref on MacOS
-$HOME/.nMOLDYN on Linux
@type: cfgFilename: string.
@param config: the configuration to save. By default, the default PREFERENCES stored in
nMOLDYN.Core.Preferences.nMOLDYNPreferences class.
@type config: instance of a dummy class whose attributes must be the ones defined in
nMOLDYN.Core.Preferences.nMOLDYNPreferences class.
|
Loads a configuration from |cfgFilename| file name and updates |config| PREFERENCES.
@param cfgFilename: if not None, the name of the PREFERENCES file to load else the configuration file
will be loaded from a plat-form dependant location:
-$USERPROFILE/Application Data/nMOLDYN/nMOLDYN.ini on Windows
-$HOME/Library/Preferences/nMLDYN/nMOLDYN.pref on MacOS
-$HOME/.nMOLDYN on Linux
@type: cfgFilename: string.
@param config: the configuration to load. By default, the default PREFERENCES stored in
nMOLDYN.Core.Preferences.nMOLDYNPreferences class.
@type config: instance of a dummy class whose attributes must be the ones defined in
nMOLDYN.Core.Preferences.nMOLDYNPreferences class.
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Thu Oct 8 16:56:53 2009 | http://epydoc.sourceforge.net |