Changeset 87fce00 in sasmodels for compare.py


Ignore:
Timestamp:
Feb 18, 2015 5:18:00 AM (10 years ago)
Author:
ajj
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:
3271e20, c5b7d07, 3a45c2c
Parents:
c95dc908
Message:

Ensuring that compare will run even if opencl is not installed. Results display will be labelled "opencl" but is actually "ctypes". This is a temporary fix which needs properly integrating. Do not use -ctypes flag if you don't have opencl, you will be comparing model execution with itself.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • compare.py

    ra503bfd r87fce00  
    1010 
    1111from sasmodels.bumps_model import BumpsModel, plot_data, tic 
    12 from sasmodels import kernelcl, kerneldll 
     12try: from sasmodels import kernelcl 
     13except: from sasmodels import kerneldll as kernelcl 
     14from sasmodels import kerneldll 
    1315from sasmodels.convert import revert_model 
    1416 
Note: See TracChangeset for help on using the changeset viewer.