Changeset 8977226 in sasmodels


Ignore:
Timestamp:
Nov 3, 2016 2:11:39 PM (8 years ago)
Author:
krzywon
Branches:
master, core_shell_microgels, costrafo411, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
23ae1d6
Parents:
85fe7f8
Message:

Pass params to parameters.user_parameters.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/sasview_model.py

    r85fe7f8 r8977226  
    354354        self.dispersion = collections.OrderedDict() 
    355355        self.details = {} 
    356         for p in self._model_info.parameters.user_parameters(): 
     356        for p in self._model_info.parameters.user_parameters({}, is2d=True): 
    357357            if p.name in hidden: 
    358358                continue 
Note: See TracChangeset for help on using the changeset viewer.