Changeset 2819 for trunk/exports/G2export_csv.py
- Timestamp:
- May 4, 2017 9:14:19 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/exports/G2export_csv.py
r2433 r2819 97 97 98 98 if mode == 'w': 99 print('Phase '+ str(phasenam)+' written to file '+str(self.fullpath))99 print('Phase '+phasenam+' written to file '+self.fullpath) 100 100 self.CloseFile() 101 101 … … 154 154 line += "," 155 155 self.Write(line) 156 print('Phase '+ str(phasenam)+' written to file '+str(self.fullpath))156 print('Phase '+phasenam+' written to file '+self.fullpath) 157 157 self.CloseFile() 158 158 … … 210 210 self.filename = os.path.join(self.dirname,fileroot + self.extension) 211 211 self.Writer(hist) 212 print('Histogram '+ str(hist)+' written to file '+str(self.fullpath))212 print('Histogram '+hist+' written to file '+self.fullpath) 213 213 214 214 class ExportMultiPowderCSV(G2IO.ExportBaseclass): … … 253 253 digitList += [(13,3),] 254 254 csvData.append(histblk['Data'][1]) 255 print('Histogram '+ str(hist)+' written to file '+str(self.fullpath))255 print('Histogram '+hist+' written to file '+self.fullpath) 256 256 self.OpenFile() 257 257 WriteList(self,headList) … … 338 338 self.Write(fmt.format(h,k,l,pos,Fobs,Fcalc,phase,mult,s,g,FWHM,Prfo,i)) 339 339 self.CloseFile() 340 print( str(hist)+'reflections written to file '+str(self.fullpath))340 print(hist+'reflections written to file '+self.fullpath) 341 341 342 342 class ExportSingleCSV(G2IO.ExportBaseclass): … … 384 384 self.Write(fmt.format(h,k,l,pos,Fobs,Fcalc,phase,mult,i)) 385 385 self.CloseFile() 386 print( str(hist)+' written to file '+str(self.fullname))386 print(hist+' written to file '+self.fullname) 387 387 388 388 class ExportStrainCSV(G2IO.ExportBaseclass): … … 427 427 self.Write(fmt2.format(dat[1],dat[0],dat[2])) 428 428 self.CloseFile() 429 print( str(hist)+' written to file '+str(self.fullpath))429 print(hist+' written to file '+self.fullpath)
Note: See TracChangeset
for help on using the changeset viewer.