Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
VTK
VTK
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 581
    • Issues 581
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 163
    • Merge Requests 163
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • VTK
  • VTKVTK
  • Issues
  • #16934

Closed
Open
Opened Dec 12, 2016 by Shawn Waldon@shawn.waldonDeveloper

Python 3 exception in test vtkParallelMPI4PyPython-TestParallelNumpy

The issue is in Wrapping/Python/vtk/numpy_interface/algorithms.py line 397. In python 3, comparison between different types (0 and None) raises an exception. It is failing since axis is None. But without knowing all the different functions that could be passed into this function's first argument I don't know what the right change should be. Change the comparison to axis is not None? Change the default of the axis parameter?

@berkgeveci You originally wrote this. Do you remember enough to know what the change should be or do I need to keep digging?

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: vtk/vtk#16934