Changeset dc056b9 in sasmodels


Ignore:
Timestamp:
Nov 25, 2015 10:09:28 AM (7 years ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
master, core_shell_microgels, costrafo411, magnetic_model, release_v0.94, release_v0.95, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
82d239a
Parents:
2bebe2b
Message:

…and leave a comment about why the unused import should be kept in the code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/compare.py

    r2bebe2b rdc056b9  
    163163 
    164164def eval_sasview(model_definition, pars, data, Nevals=1): 
     165    # importing sas here so that the error message will be that sas failed to 
     166    # import rather than the more obscure smear_selection not imported error 
    165167    import sas 
    166168    from sas.models.qsmearing import smear_selection 
Note: See TracChangeset for help on using the changeset viewer.