Changes in / [5451a78:3a38a8b] in sasview


Ignore:
Location:
src/sas
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sascalc/fit/pluginmodel.py

    r9e531f2 r5213d22  
    33 
    44class Model1DPlugin(BaseComponent): 
     5    is_multiplicity_model = False 
     6 
    57    ## Name of the model 
    68 
  • src/sas/sasgui/perspectives/fitting/basepage.py

    r6ed67db r5213d22  
    21462146                self.temp_multi_functional = True 
    21472147        elif form_factor != None: 
    2148             self.model = form_factor(self.multi_factor) 
     2148            if self.multi_factor is not None: 
     2149                self.model = form_factor(self.multi_factor) 
     2150            else: 
     2151                # old style plugin models do not accept a multiplicity argument 
     2152                self.model = form_factor() 
    21492153        else: 
    21502154            self.model = None 
Note: See TracChangeset for help on using the changeset viewer.