Changeset c74f359 in sasview


Ignore:
Timestamp:
Mar 28, 2019 6:17:42 PM (6 years ago)
Author:
gonzalezm
Branches:
ticket-1009
Children:
8fbca4f
Parents:
e40390ee
Message:

Ticket 1009: Added type of distribution used for PD parameters in report

File:
1 edited

Legend:

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

    re090ba90 rc74f359  
    491491        """ 
    492492        for item in list: 
    493             rep += "parameter name: %s \n" % str(item[1]) 
     493            if str(item[1][-5:]) == 'width': 
     494                par = str(item[1][:-6]) 
     495                pd_type = str(self.model.dispersion[par]['type']) 
     496                rep += "parameter name: %s (%s) \n" % (str(item[1]), pd_type) 
     497            else: 
     498                rep += "parameter name: %s \n" % str(item[1]) 
    494499            rep += "value: %s\n" % str(item[2]) 
    495500            rep += "selected: %s\n" % str(item[0]) 
Note: See TracChangeset for help on using the changeset viewer.