Changes in / [483a022:041bc75] in sasmodels


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/sasview_model.py

    r64f0a1c re4bf271  
    125125        if not hasattr(model, 'filename'): 
    126126            model.filename = kernel_module.__file__ 
    127             # For old models, treat .pyc and .py files interchangeably. 
    128             # This is needed because of the Sum|Multi(p1,p2) types of models 
    129             # and the convoluted way in which they are created. 
    130             if model.filename.endswith(".py"): 
    131                 logging.info("Loading %s as .pyc", model.filename) 
    132                 model.filename = model.filename+'c' 
    133127        if not hasattr(model, 'id'): 
    134128            model.id = splitext(basename(model.filename))[0] 
Note: See TracChangeset for help on using the changeset viewer.