Changes in / [4554131:a792234] in sasmodels


Ignore:
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • doc/genmodel.py

    rc094758 rc094758  
    7777 
    7878 
    79 # Generate image (comment IF for 1D/2D for the moment) and generate only 1D 
     79# Generate image  
    8080fig_height = 3.0 # in 
    8181fig_left = 0.6 # in 
     
    109109    fig = plt.figure(figsize=aspect) 
    110110    ax1d = fig.add_axes([ax_left, ax_bottom, ax_width, ax_height]) 
    111 plot_1d(model, opts, ax1d) 
     111    plot_1d(model, opts, ax1d) 
    112112 
    113113# Save image in model/img 
  • sasmodels/sasview_model.py

    rfcd7bbd r2622b3f  
    1717from copy import deepcopy 
    1818import warnings 
     19import collections 
    1920 
    2021import numpy as np 
     
    5758        ## TODO: reorganize parameter handling 
    5859        self.details = dict() 
    59         self.params = dict() 
     60        self.params = collections.OrderedDict() 
    6061        self.dispersion = dict() 
    6162        partype = model.info['partype'] 
     63 
    6264        for p in model.info['parameters']: 
    6365            self.params[p.name] = p.default 
Note: See TracChangeset for help on using the changeset viewer.