Changeset 2194


Ignore:
Timestamp:
Apr 2, 2016 12:25:18 PM (6 years ago)
Author:
toby
Message:

make pydiffax optional

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIpwd.py

    r2192 r2194  
    3737import GSASIImath as G2mth
    3838import pypowder as pyd
    39 import pydiffax as pyx
    40 
     39try:
     40    import pydiffax as pyx
     41except ImportError:
     42    print 'the pydiffax library could not be loaded'
     43
     44   
    4145# trig functions in degrees
    4246sind = lambda x: math.sin(x*math.pi/180.)
Note: See TracChangeset for help on using the changeset viewer.