Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH: Simplify node loading methods API in slicer.util #1159

Closed
wants to merge 1 commit into from

Commits on Jun 23, 2019

  1. ENH: Simplify node loading methods API in slicer.util

    Previously, returnNode=True argument had to be set to retrieve the loaded node:
    
      volumeNode = slicer.util.loadVolume('path/to/volume.nrrd', returnNode=True)[1]
    
    Now the node is returned by default:
    
      volumeNode = slicer.util.loadVolume('path/to/volume.nrrd')
    
    Also added loadNodesFromFile function that can return multiple loaded nodes.
    lassoan committed Jun 23, 2019
    Configuration menu
    Copy the full SHA
    6092230 View commit details
    Browse the repository at this point in the history