Ignore:
Timestamp:
Nov 23, 2018 6:48:03 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:
9c05f22
Parents:
72651df
Message:

Added polydisp. and magnetic parameters to the Report Result page.
SASVIEW-1190

File:
1 edited

Legend:

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

    r21e71f1 r9817207  
    35333533            index = self.theory_item 
    35343534        params = FittingUtilities.getStandardParam(self._model_model) 
     3535        poly_params = [] 
     3536        magnet_params = [] 
     3537        if self.chkPolydispersity.isChecked() and self._poly_model.rowCount() > 0: 
     3538            poly_params = FittingUtilities.getStandardParam(self._poly_model) 
     3539        if self.chkMagnetism.isChecked() and self.canHaveMagnetism() and self._magnet_model.rowCount() > 0: 
     3540            magnet_params = FittingUtilities.getStandardParam(self._magnet_model) 
    35353541        report_logic = ReportPageLogic(self, 
    35363542                                       kernel_module=self.kernel_module, 
    35373543                                       data=self.data, 
    35383544                                       index=index, 
    3539                                        params=params) 
     3545                                       params=params+poly_params+magnet_params) 
    35403546 
    35413547        return report_logic.reportList() 
Note: See TracChangeset for help on using the changeset viewer.