Operating system: Mint 18
Slicer version: 4.8
Expected behavior: A list of data in the combo box should be exhibited
Actual behavior: Nothing is displayed.
Hi everyone, i am new here and i am having a problem third party slicer extension called SEEG-Assistant, and i would appreciate any help with that.
I am working with a loadable module for electrodes segmentation through fiducial marks.
Those Fiducial markers should be loaded and displayed by the module automatically, but that doesn’t happen.
I am not really sure that the provided instructions in the original code is right or is enough for that.
i am sending parts of the code with the related configurations, github link for the original code, and print screen of the module interface.
relevant code parts
#### Configure Segmentation - Section ### Read from files the list of the modules with open(slicer.modules.ContactPositionEstimatorInstance.electrodeTypesPath) as data_file: # models is a dictionary with the name of electrode type is the key self.models = json.load(data_file) #### Create the caption table for the configuration self.tableCaption = ["Name", "Type/Model", "TP", "cEP"] self.tableHsize = [80, 180, 50, 50] self.captionGB = qt.QGroupBox(self.segmentationCB) self.captionBL = qt.QHBoxLayout(self.captionGB) self.captionBL.setMargin(1) for i in (xrange(len(self.tableCaption))): a = qt.QLabel(self.tableCaption[i], self.captionGB) a.setMaximumWidth(self.tableHsize[i]) a.setMaximumHeight(20) a.setStyleSheet("qproperty-alignment: AlignCenter;") self.captionBL.addWidget(a) self.segmentationFL.addRow("", self.captionGB) self.electrodeList =