Changeset 92b2fd8 in sasview for fittingview/src


Ignore:
Timestamp:
Oct 6, 2011 5:27:27 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:
ace0e33
Parents:
cef2da8
Message:

fixed park single fit problem: putting resultant param values in wrong places

File:
1 edited

Legend:

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

    r763bec8 r92b2fd8  
    803803        ## perform single fit 
    804804        if is_single_fit: 
    805             calc_fit = FitThread(handler = handler, 
     805            if self._fit_engine == "scipy": 
     806                calc_fit = FitThread(handler = handler, 
    806807                                    fn=fitter_list, 
    807808                                    pars=pars, 
     
    811812                                    completefn=self._single_fit_completed, 
    812813                                    ftol=self.ftol) 
     814            else: 
     815                calc_fit = FitThread(handler = handler, 
     816                                    fn=fitter_list, 
     817                                    pars=pars, 
     818                                    batch_inputs=batch_inputs, 
     819                                    batch_outputs=batch_outputs, 
     820                                    page_id=list_page_id, 
     821                                    completefn=self._simul_fit_completed, 
     822                                    ftol=self.ftol) 
     823 
    813824        else: 
    814825            current_page_id = self.sim_page.uid 
Note: See TracChangeset for help on using the changeset viewer.