Changeset 1492 for trunk/GSASII.py


Ignore:
Timestamp:
Sep 10, 2014 1:45:29 PM (9 years ago)
Author:
vondreele
Message:

fix import of multiple SNT data sets & assigning them to the phase

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASII.py

    r1486 r1492  
    735735                    self.PatternTree.SetItemPyData(
    736736                        self.PatternTree.AppendItem(Id,text='Reflection List'),[])  #dummy entry for GUI use
     737                    newHistList.append(HistName)
    737738            else:
    738739                valuesdict = {'wtFactor':1.0,'Dummy':False,'ranId':ran.randint(0,sys.maxint),}
     
    747748                self.PatternTree.SetItemPyData(
    748749                    self.PatternTree.AppendItem(Id,text='Reflection List'),[])  #dummy entry for GUI use
     750                newHistList.append(HistName)
    749751               
    750752            self.PatternTree.SelectItem(Id)
    751753            self.PatternTree.Expand(Id)
    752754            self.Sngl = True
    753             newHistList.append(HistName)
    754755
    755756        if not newHistList: return # somehow, no new histograms
     
    843844            S = File.readline()               
    844845        File.close()
    845         # add a second MT dict here. TOF parms? (BHT)
    846846        return G2IO.makeInstDict(newItems,newVals,len(newVals)*[False,]),{}
    847847       
     
    920920
    921921        :returns: a list of two dicts, the first containing instrument parameters
    922           and the second used for future TOF datasets (timemaps?)
     922          and the second used for TOf lookup tables for profile coeff.
    923923
    924924        '''
Note: See TracChangeset for help on using the changeset viewer.