Ignore:
Timestamp:
Dec 18, 2017 3:18:15 PM (4 years ago)
Author:
toby
Message:

generalize 1ID metadata import to column-oriented; add routine to test .lbls file; recognize Dexala in either orientation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIdataGUI.py

    r3192 r3195  
    783783                            if rd.sumfile:
    784784                                rd.readfilename = rd.sumfile
    785                             if GSASIIpath.GetConfigValue('Image_1IDmetadata'):
    786                                 G2IO.Get1IDMetadata(rd)
     785                            # Load generic metadata, as configured
     786                            G2IO.GetColumnMetadata(rd)
    787787                            G2IO.LoadImage2Tree(rd.readfilename,self,rd.Comments,rd.Data,rd.Npix,rd.Image)
    788788                            rd_list.append(True) # save a stub the result before it is written over
     
    25302530        self._Add_ImportMenu_reflectometry(Import)
    25312531        self._Add_ImportMenu_PDF(Import)
     2532       
     2533        item = Import.Append(wx.ID_ANY,'Column metadata test','Test Column (.par) metadata import')
     2534        self.Bind(wx.EVT_MENU, self.OnColMetaTest, id=item.GetId())
    25322535
    25332536        #======================================================================
     
    29322935        'implement unfortunate synonym. with luck no longer used'
    29332936        self.SetTitle(text,location=0)
    2934        
     2937
     2938    def OnColMetaTest(self,event):
     2939        'Test the .par/.*lbls pair for contents'
     2940        G2IO.testColumnMetadata(self)
    29352941               
    29362942    def OnReadPowderPeaks(self,event):
Note: See TracChangeset for help on using the changeset viewer.