Changeset 3141 for trunk/GSASIIimgGUI.py


Ignore:
Timestamp:
Oct 26, 2017 1:59:53 PM (6 years ago)
Author:
vondreele
Message:

fix bug in AutoIntegrate? (for py 2.7)
remove a debug print in tif importer
work on cbf image importer - ok for py 2.7 not 3.6

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIimgGUI.py

    r3136 r3141  
    31333133                    self.parms,self.IMfileList = self.ReadFiles(files)
    31343134            finally:
    3135                 dlg.Destroy()
     3135                if dlg: dlg.Destroy()
    31363136            if not files:
    31373137                wx.CallAfter(self.EndModal,wx.ID_CANCEL)
     
    32823282    def FillList(self,parms):
    32833283        'Places the current parms into the table'
     3284        maxint = 2**31-1
    32843285        self.ClearAll()
    32853286        self.rowlen = len(self.parent.ParmList)
     
    32903291            if d == 'None': continue
    32913292            if float(d) < 0: continue
    3292             index = self.InsertStringItem(sys.maxsize, d)
     3293            index = self.InsertStringItem(maxint, d)
    32933294            for j in range(1,len(parms)):
    32943295                self.SetStringItem(index, j, parms[j][r])
Note: See TracChangeset for help on using the changeset viewer.