Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • mapgenerator mapgenerator
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 30
    • Issues 30
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Earth SciencesEarth Sciences
  • mapgeneratormapgenerator
  • Wiki
  • configure

configure · Changes

Page history
Update configure authored Jan 31, 2019 by Francesco's avatar Francesco
Show whitespace changes
Inline Side-by-side
configure.md
View page @ be3f7fbf
......@@ -50,18 +50,18 @@ The value has been stored.
Three functions (methods) are available:
1. *loadConf*: loads options from existing configuration file. Input parameters are:
1. *pm.loadConf(...)*: loads options from existing configuration file. Input parameters are:
* section - the section of the configuration file (default=None)
* fpath - full path of the configuration file. If None reads *config_dir* and *config_file* variables (default=None)
* reset - if True, reset all options to default before load new values (default=False)
2. *writeConf*: writes current configuration to file. Input parameters are:
2. *pm.writeConf(...)*: writes current configuration to file. Input parameters are:
* section - the section of the configuration file
* fpath - full path of the conf file. If None reads *config_dir* and *config_file* variables (default=None)
3. *resetConf*: reset configuration to defaults. It doesn't require any option.
3. *pm.resetConf()*: reset configuration to defaults. It doesn't require any option.
**IMPORTANT**: In case of crash of *plot* or *aplot* function execution, *pm.resetConf()* is required, otherwise it will not work. As alternative option the *pm* object can be created again.
......
Clone repository
  • Reports
  • configure
  • example1
  • example2
  • example3
  • examples
  • Home
  • how to use
  • options