Changeset 62b3cb2 in sasmodels


Ignore:
Timestamp:
Feb 19, 2015 6:08:31 AM (10 years ago)
Author:
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:
bccabbc
Parents:
ff58110
Message:

fix import trap for opencl to reflect new exeception

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/bumps_model.py

    r0ac3db5 r62b3cb2  
    1717try: 
    1818    from .kernelcl import load_model as _loader 
    19 except ImportError,exc: 
     19except RuntimeError,exc: 
    2020    import warnings 
    2121    warnings.warn(str(exc)) 
Note: See TracChangeset for help on using the changeset viewer.