- Timestamp:
- Mar 13, 2009 5:26:13 PM (16 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:
- a0d56d5
- Parents:
- a7abdb1
- Location:
- guiframe
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
guiframe/gui_manager.py
r3e852ef5 r4ba846b 37 37 from sans.guicomm.events import EVT_STATUS 38 38 from sans.guicomm.events import EVT_NEW_PLOT,EVT_SLICER_PARS_UPDATE 39 import history 39 40 40 import warnings 41 41 warnings.simplefilter("ignore") -
guiframe/utils.py
r12aa9b5 r4ba846b 11 11 value = float(value) 12 12 except: 13 print "returning0"14 return "0"13 output="0" 14 return output.lstrip().rstrip() 15 15 16 16 if high: 17 return "%-6.4g" % value 17 output= "%-6.4g" % value 18 18 19 else: 19 return "%-5.3g" % value 20 output= "%-5.3g" % value 21 return output.lstrip().rstrip() 20 22 21 23 class PanelMenu(wx.Menu):
Note: See TracChangeset
for help on using the changeset viewer.