Changeset ce67f35 in sasview


Ignore:
Timestamp:
Nov 28, 2018 6:07:10 AM (5 years ago)
Author:
Piotr Rozyczko <piotr.rozyczko@…>
Branches:
ESS_GUI, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
Children:
376a939
Parents:
3ba060e1
git-author:
Piotr Rozyczko <piotr.rozyczko@…> (11/28/18 06:06:15)
git-committer:
Piotr Rozyczko <piotr.rozyczko@…> (11/28/18 06:07:10)
Message:

Change data index before Q range recalculation. SASVIEW-1118

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Perspectives/Fitting/FittingWidget.py

    rba8046c rce67f35  
    16301630 
    16311631            # Switch indexes 
    1632             self.onSelectBatchFilename(res_index) 
    1633  
     1632            self.data_index = res_index 
     1633            # Recompute Q ranges 
     1634            if self.data_is_loaded: 
     1635                self.q_range_min, self.q_range_max, self.npts = self.logic.computeDataRange() 
     1636 
     1637            # Recalculate theories 
    16341638            method = self.complete1D if isinstance(self.data, Data1D) else self.complete2D 
    16351639            self.calculateQGridForModelExt(data=data, model=kernel_module, completefn=method, use_threads=False) 
Note: See TracChangeset for help on using the changeset viewer.