Changeset 3164 for trunk/GSASIIpwd.py


Ignore:
Timestamp:
Nov 28, 2017 11:32:31 AM (4 years ago)
Author:
vondreele
Message:

fix neutron resonant scattering factor calcs. - neglected constant term
put tyr/except around import pypowder in G2pwd & G2math - to allow testing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIpwd.py

    r3157 r3164  
    3737import GSASIIElem as G2elem
    3838import GSASIImath as G2mth
    39 import pypowder as pyd
     39try:
     40    import pypowder as pyd
     41except ImportError:
     42    print ('pypowder is not available - profile calcs. not allowed')
    4043try:
    4144    import pydiffax as pyx
Note: See TracChangeset for help on using the changeset viewer.