Ignore:
Timestamp:
Sep 8, 2011 5:16:54 PM (13 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:
8dcc4539
Parents:
2e08a9f
Message:

working on batch fit

Location:
fittingview/src/sans/perspectives/fitting
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • fittingview/src/sans/perspectives/fitting/fit_thread.py

    r49c69de rf7f6886  
    8888            #    self.handler.error(msg=msg) 
    8989        except: 
    90             raise 
    91             #if self.handler is not None: 
    92             #    self.handler.error(msg=str(sys.exc_value)) 
     90            if self.handler is not None: 
     91                self.handler.error(msg=str(sys.exc_value)) 
    9392            
    9493         
  • fittingview/src/sans/perspectives/fitting/fitting.py

    r2e08a9f rf7f6886  
    711711                    value.clear_model_param() 
    712712            except: 
    713                 raise 
    714713                msg= "%s error: %s" % (engineType, sys.exc_value) 
    715714                wx.PostEvent(self.parent, StatusEvent(status=msg, info="error", 
  • fittingview/src/sans/perspectives/fitting/utils.py

    rf7ef313 rf7f6886  
    2222        weight = dy_data 
    2323    elif flag == 2: 
    24         self.weight = numpy.sqrt(numpy.abs(data)) 
     24        weight = numpy.sqrt(numpy.abs(data)) 
    2525    elif flag == 3: 
    2626        weight = numpy.abs(data) 
Note: See TracChangeset for help on using the changeset viewer.