Skip to content
Snippets Groups Projects

Param dict python

Merged Guillaume Pasero requested to merge param_dict_python into develop

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.

Merge request reports

Approval is optional

Merged by Guillaume PaseroGuillaume Pasero 7 years ago (Mar 2, 2018 7:56am UTC)

Merge details

  • Changes merged into release-6.6 with 118bef41.
  • Deleted the source branch.

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading