Changeset 2779
- Timestamp:
- Apr 13, 2017 11:34:59 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/exports/G2export_map.py
r1261 r2779 65 65 self.filename = os.path.splitext(filename)[1] + "_" + mapData['MapType'] + str(i) + self.extension 66 66 self.OpenFile() 67 self.Write( "Map of Phase "+str(phasenam)+" from "+str(self.G2frame.GSASprojectfile))67 self.Write(u"Map of Phase "+phasenam+u" from "+self.G2frame.GSASprojectfile) 68 68 # get cell parameters & print them 69 69 cellList,cellSig = self.GetCell(phasenam) … … 77 77 self.Write(str(rho[i,j,k])) 78 78 self.CloseFile() 79 print( 'map from Phase '+str(phasenam)+' written to file '+str(self.fullpath))79 print(u'map from Phase '+phasenam+u' written to file '+self.fullpath) 80 80 81 81 class ExportMapCCP4(G2IO.ExportBaseclass): … … 146 146 self.Write(x,'f') 147 147 self.CloseFile() 148 print( 'map from Phase '+str(phasenam)+' written to file '+str(self.fullpath))148 print(u'map from Phase '+phasenam+u' written to file '+self.fullpath)
Note: See TracChangeset
for help on using the changeset viewer.