Changeset 2819 for trunk/exports/G2export_examples.py
- Timestamp:
- May 4, 2017 9:14:19 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/exports/G2export_examples.py
r2136 r2819 114 114 vals.append(G2mth.ValEsd(val,sig)) 115 115 self.Write(fmt.format(*vals)) 116 print('Phase '+ str(phasenam)+' written to file '+str(self.fullpath))116 print('Phase '+phasenam+' written to file '+self.fullpath) 117 117 self.CloseFile() 118 118 … … 164 164 hist = self.histnam[0] # there should only be one histogram, in any case take the 1st 165 165 self.Writer(hist) 166 print( str(hist)+' written to file '+str(self.fullpath))166 print(hist+' written to file '+self.fullpath) 167 167 168 168 class ExportPowderReflText(G2IO.ExportBaseclass): … … 244 244 s,g,FWHM,prfo)) 245 245 self.CloseFile() 246 print( str(hist)+'reflections written to file '+str(self.fullpath))246 print(hist+'reflections written to file '+self.fullpath) 247 247 248 248 class ExportSingleText(G2IO.ExportBaseclass): … … 287 287 self.Write(fmt.format(hklfmt.format(h,k,l),dsp,Fobs,sigFobs,Fcalc,phase,twin)) 288 288 self.CloseFile() 289 print( str(hist)+' written to file '+str(self.fullpath))290 289 print(hist+' written to file '+self.fullpath) 290
Note: See TracChangeset
for help on using the changeset viewer.