Changeset 4ba846b in sasview for guiframe


Ignore:
Timestamp:
Mar 13, 2009 5:26:13 PM (16 years ago)
Author:
Gervaise Alina <gervyh@…>
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
Message:

removing white space on textcontrol
removing import history unused

Location:
guiframe
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • guiframe/gui_manager.py

    r3e852ef5 r4ba846b  
    3737from sans.guicomm.events import EVT_STATUS 
    3838from sans.guicomm.events import EVT_NEW_PLOT,EVT_SLICER_PARS_UPDATE 
    39 import history 
     39 
    4040import warnings 
    4141warnings.simplefilter("ignore") 
  • guiframe/utils.py

    r12aa9b5 r4ba846b  
    1111        value = float(value) 
    1212    except: 
    13         print "returning 0" 
    14         return "0" 
     13        output="0" 
     14        return output.lstrip().rstrip() 
    1515     
    1616    if high: 
    17         return "%-6.4g" % value 
     17        output= "%-6.4g" % value 
     18         
    1819    else: 
    19         return "%-5.3g" % value 
     20        output= "%-5.3g" % value 
     21    return output.lstrip().rstrip() 
    2022     
    2123class PanelMenu(wx.Menu): 
Note: See TracChangeset for help on using the changeset viewer.