edit_conf#
- ams.main.edit_conf(edit_config: str | bool | None = '')[source]#
Edit the AMS config file which occurs first in the search path.
- Parameters:
- edit_configbool
If
True, try to open up an editor and edit the config file. Otherwise returns.
- Returns:
- bool
Trueis a config file is found and an editor is opened.Falseifedit_configis False.
Notes
Copied from the ANDES project (CURENT/andes). Original author: Hantao Cui License: GPL3