Changeset 3163 for trunk/GSASIIstrIO.py


Ignore:
Timestamp:
Nov 28, 2017 10:06:41 AM (4 years ago)
Author:
vondreele
Message:

fix typo in Tb neutron scattering factors; extra space
fix lst output of neutron resonant form factors - computations were correct
implement import of mcif files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIstrIO.py

    r3157 r3163  
    860860            isotope = bldata[0]
    861861            mass = bldata[1]['Mass']
    862             if 'SL' in bldata[1]:
     862            if 'BW-LS' in bldata[1]:
     863                bres = bldata[1]['BW-LS']
     864                blen = 0
     865            else:
    863866                blen = bldata[1]['SL'][0]
    864867                bres = []
    865             else:
    866                 blen = 0
    867                 bres = bldata[1]['BW-LS']
    868868            line = ' %8s%11s %10.3f %8.3f'%(Ename.ljust(8),isotope.center(11),mass,blen)
    869869            for item in bres:
Note: See TracChangeset for help on using the changeset viewer.