Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • ParaView ParaView
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,962
    • Issues 1,962
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 98
    • Merge requests 98
  • 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
  • ParaViewParaView
  • ParaViewParaView
  • Issues
  • #20483
Closed
Open
Issue created Feb 09, 2021 by Boonthanome Nouanesengsy@boonthDeveloper

Annotate Global Data filter incorrect for integers

In the Annotate Global Data filter, the default Format string is "%7.5g". If a field data has the value 1, then in Paraview 5.8.1, the annotation would show 1. In Paraview 5.9.0, the annotation now shows 0. In python, the output of "%7.5g" % 1 is 1, so this looks like a bug.

Here is a test dataset: wavelet.vti

To reproduce:

  • Open the file in Paraview 5.9.0, and create an Annotate Global Data Filter
  • Hit Apply, and the annotation will show 0, but the actual value of the field data is 1

Edit: I just tried this on the latest master, and with master the annotation says 6.9531e-310.

@patchett2002 @cory.quammen @utkarsh.ayachit

screenshot

Edited Feb 09, 2021 by Boonthanome Nouanesengsy
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking