Changeset 386ffe1 in sasview for src/sas/perspectives/fitting/fitpanel.py
- Timestamp:
- Feb 20, 2015 3:02:38 AM (10 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, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- cda1cf8
- Parents:
- 018582f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/perspectives/fitting/fitpanel.py
rfa09d62 r386ffe1 110 110 return doc 111 111 112 def _on_engine_change(self, name='scipy'):113 """114 """115 for panel in self.opened_pages.values():116 self.set_engine_helper(panel=panel, name=name)117 118 def set_engine_helper(self, panel, name='scipy'):119 """120 """121 self.fit_engine_type = name122 if panel not in[self.batch_page, self.sim_page]:123 panel._on_engine_change(name=self.fit_engine_type)124 125 112 def update_model_list(self): 126 113 """ … … 393 380 self.AddPage(panel, caption, select=True) 394 381 self.opened_pages[panel.uid] = panel 395 self.set_engine_helper(panel=panel)396 382 self._manager.create_fit_problem(panel.uid) 397 383 self._manager.page_finder[panel.uid].add_data(panel.get_data())
Note: See TracChangeset
for help on using the changeset viewer.