Changeset 4fbf0db in sasview
- Timestamp:
- Sep 17, 2018 8:59:58 AM (6 years ago)
- Branches:
- ESS_GUI, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
- Children:
- 68dc2873
- Parents:
- 14ec7dfd
- Location:
- src/sas/qtgui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Inversion/InversionPerspective.py
r14ec7dfd r4fbf0db 55 55 56 56 self._manager = parent 57 self._parent = parent 57 58 self.communicate = parent.communicator() 58 59 self.communicate.dataDeletedSignal.connect(self.removeData) … … 657 658 658 659 pr = self._calculator.clone() 659 nfunc = self.getNFunc() 660 self.calcThread = CalcPr(pr, nfunc, 660 #Making sure that nfunc and alpha parameters are correctly initialized 661 pr.suggested_alpha = self._calculator.alpha 662 self.calcThread = CalcPr(pr, self.nTermsSuggested, 661 663 error_func=self._threadError, 662 664 completefn=self._calculateCompleted, -
src/sas/qtgui/Utilities/GridPanel.py
r3c6ecd9 r4fbf0db 54 54 # Fill in the table from input data 55 55 self.setupTable(widget=self.tblParams, data=output_data) 56 #TODO: This is not what was inteded to be. 56 57 if output_data is not None: 57 58 # Set a table tooltip describing the model 58 model_name = output_data[0][0].model.id59 model_name = list(output_data.keys())[0] 59 60 self.tabWidget.setTabToolTip(0, model_name) 60 61 … … 418 419 def __init__(self, parent = None, output_data=None): 419 420 420 super(BatchInversionOutputPanel, self).__init__(parent , output_data)421 super(BatchInversionOutputPanel, self).__init__(parent._parent, output_data) 421 422 _translate = QtCore.QCoreApplication.translate 422 423 self.setWindowTitle(_translate("GridPanelUI", "Batch P(r) Results")) 423 424 424 def setupTable(self, data):425 def setupTable(self, widget=None, data=None): 425 426 """ 426 427 Create tablewidget items and show them, based on params … … 433 434 'Calc. Time [sec]'] 434 435 436 if data is None: 437 return 435 438 keys = data.keys() 436 439 rows = len(keys)
Note: See TracChangeset
for help on using the changeset viewer.