Ignore:
Timestamp:
May 28, 2014 11:57:03 AM (8 years ago)
Author:
vondreele
Message:

fix atmdata.py for Rh (& other anomalous b isotopes)
fix powder imports to include old style PRCF records in GSAS iparm files
format of penalty fxn. prints

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/imports/G2pwd_fxye.py

    r1359 r1365  
    6565            w = []
    6666            S = File.readline()
    67             while S and S[:4] != 'BANK':
     67            while S and S[:4] != 'BANK' and S[0] != '#':
    6868                vals = S.split()
    6969                x.append(float(vals[0])/100.)               #CW: from centidegrees to degrees
     
    8686            w = []
    8787            S = File.readline()
    88             while S and S[:4] != 'BANK':
     88            while S and S[:4] != 'BANK' and S[0] != '#':
    8989                vals = S.split()
    9090                x.append(float(vals[0])/100.)               #CW: from centidegrees to degrees
     
    114114            S = File.readline()
    115115            j = 0
    116             while S and S[:4] != 'BANK':
     116            while S and S[:4] != 'BANK' and S[0] != '#':
    117117                for i in range(0,80,16):
    118118                    xi = start+step*j
     
    148148            S = File.readline()
    149149            j = 0
    150             while S and S[:4] != 'BANK':
     150            while S and S[:4] != 'BANK' and S[0] != '#':
    151151                for i in range(0,80,8):
    152152                    xi = start+step*j
Note: See TracChangeset for help on using the changeset viewer.