Changeset 2699


Ignore:
Timestamp:
Feb 10, 2017 1:43:02 PM (5 years ago)
Author:
vondreele
Message:

fix bug involving input of lab data - Sample defaults for Bragg-Brentano not correctly set - fixed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASII.py

    r2695 r2699  
    12021202                    v = (v[0],v[2],v[4])
    12031203                    codes = [0,0,0,0]
    1204                     rd.Sample['Type'] = 'Debye-Scherrer'
     1204                    rd.Sample.update({'Type':'Debye-Scherrer','Absorption':[0.,False],'DisplaceX':[0.,False],'DisplaceY':[0.,False]})
    12051205                else:
    12061206                    names = ['Type','Lam1','Lam2','Zero','I(L2)/I(L1)','Polariz.','U','V','W','X','Y','SH/L','Azimuth']
    12071207                    codes = [0,0,0,0,0,0]
    1208                     rd.Sample['Type'] = 'Bragg-Brentano'
     1208                    rd.Sample.update({'Type':'Bragg-Brentano','Shift':[0.,False],'Transparency':[0.,False],
     1209                        'SurfRoughA':[0.,False],'SurfRoughB':[0.,False]})
    12091210                data.extend(v)
    12101211                if 'INS  1PRCF  ' in Iparm:
Note: See TracChangeset for help on using the changeset viewer.