Changeset bd5ac39 in sasview


Ignore:
Timestamp:
Apr 28, 2011 1:29:56 PM (14 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:
5e8e615
Parents:
7c488ef5
Message:

added progress bar and passed the park NameError? that we can not handle

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • park_integration/ParkFitting.py

    r93de635d rbd5ac39  
    2626        Assembly.__init__(self, models) 
    2727        self.curr_thread = curr_thread 
     28        self.chisq = None 
     29        self._cancel = False 
    2830         
    2931    def eval(self): 
     
    4345 
    4446        # Evaluate the computed parameters 
    45         self._fitexpression() 
     47        try: 
     48            self._fitexpression() 
     49        except NameError: 
     50            pass 
    4651 
    4752        # Check that the resulting parameters are in a feasible region. 
  • sansview/perspectives/fitting/fitting.py

    r8b481a51 rbd5ac39  
    649649        self.fit_thread_list[current_page_id] = calc_fit 
    650650        calc_fit.queue() 
     651        msg = "Fitting is in progress..." 
     652        wx.PostEvent( self.parent, StatusEvent(status=msg, type="progress" )) 
     653         
    651654        self.ready_fit(calc_fit=calc_fit) 
    652655       
Note: See TracChangeset for help on using the changeset viewer.