Changeset 76cd1ae in sasview for src/sans/guiframe/gui_manager.py
- Timestamp:
- Jan 14, 2014 3:53:36 PM (11 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:
- 16bd5ca
- Parents:
- 083e993
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sans/guiframe/gui_manager.py
r1c1b037 r76cd1ae 2485 2485 info="error")) 2486 2486 raise ValueError, msg 2487 text = data.__str__() 2487 ## text = str(data) 2488 text = data.__str__() 2488 2489 text += 'Data Min Max:\n' 2489 2490 text += 'X_min = %s: X_max = %s\n'% (xmin, max(data.x)) … … 2494 2495 x_st = "X" 2495 2496 for index in range(len(data.x)): 2496 if data.dy != None :2497 if data.dy != None and len(data.dy) > index: 2497 2498 dy_val = data.dy[index] 2498 2499 else: 2499 2500 dy_val = 0.0 2500 if data.dx != None :2501 if data.dx != None and len(data.dx) > index: 2501 2502 dx_val = data.dx[index] 2502 2503 else: 2503 2504 dx_val = 0.0 2504 if data.dxl != None :2505 if data.dxl != None and len(data.dxl) > index: 2505 2506 if index == 0: 2506 2507 x_st = "Xl" 2507 2508 dx_val = data.dxl[index] 2508 elif data.dxw != None :2509 elif data.dxw != None and len(data.dxw) > index: 2509 2510 if index == 0: 2510 2511 x_st = "Xw"
Note: See TracChangeset
for help on using the changeset viewer.