Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • otb otb
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 212
    • Issues 212
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 14
    • Merge requests 14
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • 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
  • Main Repositories
  • otbotb
  • Merge requests
  • !16

Param dict python

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Guillaume Pasero requested to merge param_dict_python into develop Feb 20, 2018
  • Overview 1
  • Commits 5
  • Pipelines 0
  • Changes 4

Summary

Set/Get parameters of an application using a Python dictionary.

Rationale

Part of story #1514, provides a natural alternative to XML parameter when using Applications in Python.

Implementation Details

Classes and files

M       Modules/Wrappers/SWIG/src/otbApplication.i

The SWIG wrapping file has been enhanced with 2 functions: SetParameters() and GetParameters().

Applications

Tests

M       Modules/Wrappers/SWIG/test/python/CMakeLists.txt
A       Modules/Wrappers/SWIG/test/python/PythonParametersDict.py

New test added for this feature.

Documentation

M       Documentation/Cookbook/rst/recipes/python.rst

Small update in CookBook Python recipe.

Additional notes

Work initiated by Alexia Mondot.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: param_dict_python