Ignore:
Timestamp:
Sep 17, 2018 8:59:58 AM (6 years ago)
Author:
wojciech
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:
68dc2873
Parents:
14ec7dfd
Message:

Fixes for batch fitting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Perspectives/Inversion/InversionPerspective.py

    r14ec7dfd r4fbf0db  
    5555 
    5656        self._manager = parent 
     57        self._parent = parent 
    5758        self.communicate = parent.communicator() 
    5859        self.communicate.dataDeletedSignal.connect(self.removeData) 
     
    657658 
    658659        pr = self._calculator.clone() 
    659         nfunc = self.getNFunc() 
    660         self.calcThread = CalcPr(pr, nfunc, 
     660        #Making sure that nfunc and alpha parameters are correctly initialized 
     661        pr.suggested_alpha = self._calculator.alpha 
     662        self.calcThread = CalcPr(pr, self.nTermsSuggested, 
    661663                                 error_func=self._threadError, 
    662664                                 completefn=self._calculateCompleted, 
Note: See TracChangeset for help on using the changeset viewer.