Changeset 0438933 in sasview for fittingview/src
- Timestamp:
- Dec 8, 2011 4:07:55 PM (13 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:
- 0b082f3
- Parents:
- 1a191e4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fittingview/src/sans/perspectives/fitting/fitting.py
r5d1c1f4 r0438933 1449 1449 self._update_fit_button(page_id) 1450 1450 else: 1451 1451 #set the panel when fit result are float not list 1452 if res.pvec.__class__== numpy.float64: 1453 pvec = [res.pvec] 1454 else: 1455 pvec = res.pvec 1456 if res.stderr.__class__== numpy.float64: 1457 stderr = [res.stderr] 1458 else: 1459 stderr = res.stderr 1452 1460 cpage = self.fit_panel.get_page_by_id(uid) 1453 1461 # Make sure we got all results 1454 1462 #(CallAfter is important to MAC) 1455 1463 wx.CallAfter(cpage.onsetValues, res.fitness, res.param_list, 1456 res.pvec, res.stderr)1464 pvec, stderr) 1457 1465 index += 1 1458 1466 cpage._on_fit_complete()
Note: See TracChangeset
for help on using the changeset viewer.