Changeset 2527


Ignore:
Timestamp:
Nov 15, 2016 8:13:00 PM (5 years ago)
Author:
toby
Message:

remove debug code; remove code causing error on CIF export

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIctrls.py

    r2526 r2527  
    536536            return
    537537        self._setValue(self.result[self.key],show=False) # save value quietly
    538         print 'leave window'
    539538        if self.OnLeave: self.OnLeave(invalid=self.invalid,
    540539                                      value=self.result[self.key],
     
    21802179            if not modify:
    21812180                return
    2182             print 'Modify column',icol,' by', modify
     2181            #print 'Modify column',icol,' by', modify
    21832182            for i,item in enumerate(self.ColumnData[icol]):
    21842183                self.ColumnData[icol][i] = str(eval(item+modify))
  • trunk/exports/G2export_CIF.py

    r2516 r2527  
    18401840        print('Writing CIF output to file '+str(self.filename)+"...")
    18411841        self.OpenFile()
    1842         # test code ***************************************************************************************************
    1843         WriteCIFitem('data_'+'\xc3\x81vila')
    1844         # test code ***************************************************************************************************
    18451842        if self.currentExportType == 'single' or self.currentExportType == 'powder':
    18461843            #======Data only CIF (powder/xtal) ====================================
     
    18971894            try:
    18981895                dlg = wx.ProgressDialog('CIF progress','starting',nsteps,parent=self.G2frame)
    1899                 Size = dlg.GetSize()
    1900                 Size = (int(Size[0]*3),Size[1]) # increase size along x
    1901                 dlg.SetSize(Size)
     1896#                Size = dlg.GetSize()
     1897#                Size = (int(Size[0]*3),Size[1]) # increase size along x
     1898#                dlg.SetSize(Size)
    19021899                dlg.CenterOnParent()
    19031900
Note: See TracChangeset for help on using the changeset viewer.