Changes in / [d6e2f8d:8407d8c] in sasmodels


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/sasview_model.py

    r3bcb88c r300a2f7  
    454454        """ 
    455455        # TODO: fix test so that parameter order doesn't matter 
    456         ret = ['%s.%s' % (p_name, ext) 
    457                for p_name in self.dispersion.keys() 
    458                for ext in ('npts', 'nsigmas', 'width')] 
     456        ret = ['%s.%s' % (p.name, ext) 
     457               for p in self._model_info.parameters.user_parameters() 
     458               for ext in ('npts', 'nsigmas', 'width') 
     459               if p.polydisperse] 
    459460        #print(ret) 
    460461        return ret 
Note: See TracChangeset for help on using the changeset viewer.