Changeset 65f3930 in sasview for src/sas/sasgui/perspectives/fitting/fitpanel.py
- Timestamp:
- Jun 26, 2017 6:22:56 PM (7 years ago)
- Branches:
- master, 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, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 50fcb09
- Parents:
- 98e3f24
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/perspectives/fitting/fitpanel.py
r67b0a99 r65f3930 9 9 from wx.aui import AuiNotebook as nb 10 10 11 from sas.sascalc.fit.models import ModelManager 12 11 13 from sas.sasgui.guiframe.panel_base import PanelBase 12 14 from sas.sasgui.guiframe.events import PanelOnFocusEvent, StatusEvent 13 15 from sas.sasgui.guiframe.dataFitting import check_data_validity 14 from sas.sasgui.perspectives.fitting.simfitpage import SimultaneousFitPage 15 16 import basepage 17 import models 16 17 18 from . import basepage 19 from .fitpage import FitPage 20 from .simfitpage import SimultaneousFitPage 21 from .batchfitpage import BatchFitPage 22 from .fitting_widgets import BatchDataDialog 23 18 24 _BOX_WIDTH = 80 19 25 … … 46 52 self.event_owner = None 47 53 # dictionary of miodel {model class name, model class} 48 self.menu_mng = models.ModelManager()54 self.menu_mng = ModelManager() 49 55 self.model_list_box = self.menu_mng.get_model_list() 50 56 # pageClosedEvent = nb.EVT_FLATNOTEBOOK_PAGE_CLOSING … … 310 316 Add the simultaneous fit page 311 317 """ 312 from simfitpage import SimultaneousFitPage313 318 page_finder = self._manager.get_page_finder() 314 319 if caption == "Const & Simul Fit": … … 338 343 """ 339 344 if self.batch_on: 340 from batchfitpage import BatchFitPage341 345 panel = BatchFitPage(parent=self) 342 346 self.batch_page_index += 1 … … 345 349 else: 346 350 # Increment index of fit page 347 from fitpage import FitPage348 351 panel = FitPage(parent=self) 349 352 self.fit_page_index += 1 … … 443 446 if data_1d_list and data_2d_list: 444 447 # need to warning the user that this batch is a special case 445 from sas.sasgui.perspectives.fitting.fitting_widgets import \446 BatchDataDialog447 448 dlg = BatchDataDialog(self) 448 449 if dlg.ShowModal() == wx.ID_OK:
Note: See TracChangeset
for help on using the changeset viewer.