Changeset bb6b037 in sasview for src/sas/qtgui/Perspectives
- Timestamp:
- Apr 9, 2018 10:57:27 AM (7 years ago)
- Branches:
- ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
- Children:
- effdd98
- Parents:
- edd6720
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Perspectives/Inversion/InversionPerspective.py
redd6720 rbb6b037 65 65 self._calculator = Invertor() 66 66 # Default to background estimate 67 self._calculator. set_est_bck(True)67 self._calculator.est_bck = True 68 68 # plots of self._data 69 69 self.pr_plot = None … … 150 150 151 151 self.backgroundInput.editingFinished.connect( 152 lambda: self.set_background( is_float(self.backgroundInput.text())))152 lambda: self.set_background(self.backgroundInput.text())) 153 153 self.minQInput.editingFinished.connect( 154 154 lambda: self._calculator.set_qmin(is_float(self.minQInput.text()))) … … 336 336 GuiUtils.updateModelItemWithPlot(self._data, self.data_plot, title) 337 337 if self.dmaxWindow is not None: 338 self.dmaxWindow.nfunc = self.getNFunc() 338 339 self.dmaxWindow.pr_state = self._calculator 339 self.dmaxWindow.nfunc = self.getNFunc()340 self.dmaxWindow.modelChanged()341 340 self.mapper.toLast() 342 341 … … 488 487 self.dmaxWindow.close() 489 488 self.dmaxWindow = None 489 current_data = self._data 490 490 self.dataList.removeItem(self.dataList.currentIndex()) 491 self._data_list.pop( self._data)491 self._data_list.pop(current_data) 492 492 # Last file removed 493 493 if len(self._data_list) == 0: 494 self._data = None 494 495 self.pr_plot = None 495 496 self.data_plot = None
Note: See TracChangeset
for help on using the changeset viewer.