Ignore:
Timestamp:
Jan 16, 2019 7:56:58 AM (3 years ago)
Author:
vondreele
Message:

fix Bruker read problem - checked with 1 & 2 block RAW 1.01 files
add I-monoclinic to list of possible lattices for powder indexing
fix wavelength issue in PWDRcif import

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/imports/G2pwd_BrukerRAW.py

    r3421 r3783  
    160160                        step = st.unpack('<d',fp.read(8))[0]
    161161                        pos += headLen      #position at start of data block
    162                         fp.seek(pos) 
     162                        if blockNum == nBlock:
     163                            fp.seek(pos-40)
     164                        else:
     165                            fp.seek(pos) 
    163166                        x = np.array([start2Th+i*step for i in range(nSteps)])
    164167                        y = np.array([max(1.,st.unpack('<f',fp.read(4))[0]) for i in range(nSteps)])
Note: See TracChangeset for help on using the changeset viewer.