Changeset a3efdeb in sasview


Ignore:
Timestamp:
Apr 12, 2012 2:28:18 PM (12 years ago)
Author:
Mathieu Doucet <doucetm@…>
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:
5a0dac1f
Parents:
25c0def
Message:

Fixing code style problems and bugs

Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • invariantview/src/sans/perspectives/invariant/invariant_details.py

    r9cec2dd ra3efdeb  
    1  
     1""" 
     2    Invariant panel 
     3""" 
    24import wx 
    35import sys 
    46 
    5 import numpy 
    67from sans.guiframe.utils import format_number 
    7 from sans.guiframe.utils import check_float 
    88from invariant_widgets import OutputTextCtrl 
    99# Dimensions related to chart 
     
    415415        except: 
    416416            scale = RECTANGLE_SCALE 
    417             self.warning_msg += "Receive an invalid scale for %s\n" 
    418             self.warning_msg += "check this value : %s\n"%(str(scale_name), 
    419                                                            str(percentage)) 
     417            self.warning_msg += "Recieve an invalid scale for %s\n" 
     418            self.warning_msg += "check this value : %s\n" % str(percentage) 
    420419        return  scale 
    421420     
     
    535534        gc.DrawPath(path) 
    536535        gc.PopState() 
    537  
    538  
    539 if __name__ =="__main__": 
    540     app  = wx.App() 
    541     container = InvariantContainer() 
    542     container.qstar_total = 100.0 
    543     container.qstar = 50 
    544     container.qstar_low = None 
    545     container.qstar_high = "alina" 
    546     container.compute_percentage() 
    547     
    548     dlg = InvariantDetailsPanel(qstar_container=container) 
    549     dlg.ShowModal() 
    550     app.MainLoop() 
  • pr_inversion/src/sans/pr/__init__.py

    r9f297db ra3efdeb  
    2525# 
    2626## \subsection class Class Diagram: 
    27 # The following shows a partial class diagram with the main attributes and methods of the invertor. 
     27# The following shows a partial class diagram with the main attributes 
     28# and methods of the invertor. 
    2829# 
    2930# \image html architecture.png 
Note: See TracChangeset for help on using the changeset viewer.