Changeset 313c5c9 in sasview


Ignore:
Timestamp:
Oct 12, 2016 11:01:08 PM (8 years ago)
Author:
Paul Kienzle <pkienzle@…>
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, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
8b645cc
Parents:
a69a967
Message:

use product model from sasmodels rather than sasview. Fixes #548, #760

Location:
src/sas/sasgui/perspectives/fitting
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sasgui/perspectives/fitting/basepage.py

    r01cfd13 r313c5c9  
    20322032 
    20332033        if  struct_factor != None: 
    2034             from sas.sascalc.fit.MultiplicationModel import MultiplicationModel 
     2034            from sasmodels.sasview_model import MultiplicationModel 
    20352035            self.model = MultiplicationModel(form_factor(self.multi_factor), 
    20362036                                             struct_factor()) 
  • src/sas/sasgui/perspectives/fitting/models.py

    r5de7f69 r313c5c9  
    356356        """ 
    357357        if int(evt.GetId()) in self.form_factor_dict.keys(): 
    358             from sas.sascalc.fit.MultiplicationModel import MultiplicationModel 
     358            from sasmodels.sasview_model import MultiplicationModel 
    359359            self.model_dictionary[MultiplicationModel.__name__] = MultiplicationModel 
    360360            model1, model2 = self.form_factor_dict[int(evt.GetId())] 
Note: See TracChangeset for help on using the changeset viewer.