IGSIO / SlicerIGSIO

Utility extension for 3D Slicer, containing tools and algorithms for building image guided surgery applications
BSD 3-Clause "New" or "Revised" License
12 stars 14 forks source link

ENH: Add outputBrowserNodeID property to meta seq reader #13

Closed nathanbmnt closed 2 years ago

nathanbmnt commented 2 years ago

This adds a new loading property to the meta file sequence reader, "outputBrowserNodeID". This is convenient for if you already have a browser in the scene you want to add the new sequences to.

To test the PR, in the python console you can execute: slicer.util.loadNodeFromFile(sequence_filepath, "Sequence Metafile", properties={"outputBrowserNodeID":"browser_id"})

nathanbmnt commented 2 years ago

I've added a commit to this PR for an options widget. image

Sunderlandkyl commented 2 years ago

Thanks, looks good to me!