Changeset 2819 for trunk/exports/G2export_pwdr.py
- Timestamp:
- May 4, 2017 9:14:19 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/exports/G2export_pwdr.py
r2152 r2819 59 59 self.Write(('INS 1PRCF12%15.6e%15.6e%15.6e%15.6e ')%(Inst['X'][1],Inst['Y'][1],Inst['SH/L'][1]/2.,Inst['SH/L'][1]/2.)) 60 60 self.CloseFile() 61 print('Parameters from '+ str(hist)+' written to file '+str(prmname))61 print('Parameters from '+hist+' written to file '+prmname) 62 62 return prmname 63 63 … … 104 104 prmname = self.WriteInstFile(hist,histblk['Instrument Parameters'][0]) 105 105 self.Writer(hist,prmname=prmname) 106 print('Histogram '+ str(hist)+' written to file '+str(self.fullpath))106 print('Histogram '+hist+' written to file '+self.fullpath) 107 107 108 108 class ExportPowderXYE(G2IO.ExportBaseclass): … … 156 156 self.filename = os.path.join(self.dirname,fileroot + self.extension) 157 157 self.Writer(hist) 158 print('Histogram '+ str(hist)+' written to file '+str(self.fullpath))158 print('Histogram '+hist+' written to file '+self.fullpath)
Note: See TracChangeset
for help on using the changeset viewer.