Ignore:
Timestamp:
Feb 24, 2009 11:47:22 AM (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:
9fca3ea
Parents:
18eba35
Message:

status bar messaged added

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansview/perspectives/fitting/fitpage1D.py

    rd63ef2f rcce33b3  
    571571        #print "in smearer",self.enable_smearer.GetValue() 
    572572        smear =None 
     573        msg="" 
    573574        if self.enable_smearer.GetValue(): 
    574575            from DataLoader.qsmearing import smear_selection 
    575576            smear =smear_selection( self.data ) 
     577            if hasattr(self.data,"dxl"): 
     578                msg= ": Resolution smearing parameters" 
     579            if hasattr(self.data,"dxw"): 
     580                msg= ": Slit smearing parameters" 
    576581            if smear ==None: 
    577582                wx.PostEvent(self.manager.parent, StatusEvent(status=\ 
     
    579584            else: 
    580585                wx.PostEvent(self.manager.parent, StatusEvent(status=\ 
    581                             "Data contains smearing information")) 
     586                            "Data contains smearing information %s"%msg)) 
    582587        self.manager.set_smearer(smear)    
    583588             
Note: See TracChangeset for help on using the changeset viewer.