Issues with New Module for Numpy Files

stevenagl12
Mon, 07 Feb 2022 16:06:52 +0000
Development

Hi, I am trying to work out a new extension that is capable of going into a directory and pulling out all npy or npz files and importing them into 3D slicer as a volume. I am positive that the radio button logic on my code needs work, but I am not sure how to continue. I have looked through multiple instances of other codes using these radiobuttons and have tried their syntax only for it to break my script (obviously this is a problem caused by a lack of knowledge about UI code and connecting the logic up right). Attached is my gist if there is anyone willing to take a look.
https://gist.github.com/stevenagl12/2f933f8fb5e3a823ce506d55582583d4

5 posts - 3 participants