Ignore:
Timestamp:
Mar 30, 2015 7:39:25 AM (8 years ago)
Author:
vondreele
Message:

fix texture calculation - now matches GSAS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/imports/G2pwd_fxye.py

    r1766 r1767  
    202202        def GetTimeMap(File,Pos,TimeMap):
    203203            File.seek(Pos)
    204             cons = TimeMap.split()
     204            cons = TimeMap[8:].split()
     205            mapNo = int(cons[0])
    205206            Nch = int(cons[1])
    206207            Nrec = int(cons[2])
     
    283284                        Banks.append(S)
    284285                        Pos.append(filepointer.tell())
    285                     if S[:8] == 'TIME_MAP':
     286                    if S[:8] == 'TIME_MAP':     #assumes one time map; HIPPO has multiple time maps
    286287                        if len(Banks) == 0:
    287288                            self.errors = 'Error reading time map before any bank lines'
Note: See TracChangeset for help on using the changeset viewer.