Changeset 34a60dd in sasview for fittingview/src


Ignore:
Timestamp:
Oct 4, 2011 4:14:14 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:
1cff677
Parents:
5cf1e5b
Message:

fit result correct but improperly displayed

File:
1 edited

Legend:

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

    r5cf1e5b r34a60dd  
    10771077                cpage = self.fit_panel.get_page_by_id(pid) 
    10781078                cpage._on_fit_complete() 
    1079                 for fid in self.page_finder[pid].keys(): 
    1080                     data = self.page_finder[pid].get_fit_data(fid) 
    1081                     model = self.page_finder[pid].get_model(fid) 
    1082                     smearer = self.page_finder[pid].get_smearer(fid) 
    1083                     qmin, qmax = self.page_finder[pid].get_range(fid) 
    1084                     weight = self.page_finder[pid].get_weight(fid) 
     1079                fitproblem_list = self.page_finder[pid].values() 
     1080                fitproblem_list.sort() 
     1081                for fitproblem in fitproblem_list: 
     1082                    data = fitproblem.get_fit_data() 
     1083                    model = fitproblem.get_model() 
     1084                    smearer = fitproblem.get_smearer() 
     1085                    qmin, qmax = fitproblem.get_range() 
     1086                    weight = fitproblem.get_weight() 
    10851087                    flag = issubclass(data.__class__, Data2D) 
    10861088                    self.draw_model(model=model, 
     
    10921094                                      state=None, 
    10931095                                      toggle_mode_on=False, 
    1094                                       fid=fid, 
     1096                                      fid=data.id, 
    10951097                                      qmin=qmin, qmax=qmax,  
    10961098                                      update_chisqr=False,  
Note: See TracChangeset for help on using the changeset viewer.