Changeset 8d82a1a in sasview


Ignore:
Timestamp:
Jun 9, 2011 2:19:05 PM (13 years ago)
Author:
Jae Cho <jhjcho@…>
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:
59a59fa
Parents:
c22305e
Message:

removed updatinf fit string on mac

File:
1 edited

Legend:

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

    r40953a9 r8d82a1a  
    77import park 
    88from park.fitresult import FitHandler 
    9  
     9IS_MAC = True 
     10if sys.platform.count("win32") > 0: 
     11    IS_MAC = False 
    1012class ConsoleUpdate(FitHandler): 
    1113    """ 
     
    116118        """ 
    117119        self.elapsed_time = time.time() - self.elapsed_time 
    118         msg = " Updating fit ...\n result:\n %s \n"%self.result.__str__() 
     120        if IS_MAC: 
     121            msg = '' 
     122        else: 
     123            msg = " Updating fit ...\n result:\n %s \n"%self.result.__str__() 
    119124        wx.PostEvent(self.parent, StatusEvent(status=msg, info="info", 
    120125                                              type="progress")) 
Note: See TracChangeset for help on using the changeset viewer.