Skip to content
GitLab
  • Menu
Projects Groups 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
    • Contributors
    • Graph
    • Compare
  • Issues 196
    • Issues 196
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 8
    • Merge requests 8
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & 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
  • Issues
  • #2245
Closed
Open
Created Dec 23, 2021 by Nicolas Narçon@nicolasnn

DOC: RadiometricIndices wrong Python example

When trying the Python example of the CookBook (https://www.orfeo-toolbox.org/CookBook/Applications/app_RadiometricIndices.html), the line :

app.SetParameterStringList("list", "Vegetation:NDVI Vegetation:RVI Vegetation:IPVI")

raises the error : itk::ERROR: ListViewParameter(0x194c680): Value V not found in the list of choices: Vegetation:NDVI, Vegetation:TNDVI, .....

It should be :

app.SetParameterStringList("list", ["Vegetation:NDVI", "Vegetation:RVI", "Vegetation:IPVI"])

I didn't find where to edit this on Gitlab

Assignee
Assign to
Time tracking