Changeset 1276 for trunk/GSASII.py
- Timestamp:
- Apr 11, 2014 2:31:29 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASII.py
r1261 r1276 425 425 if result == wx.ID_NO: return [] 426 426 427 self.lastimport = filename 427 self.lastimport = filename # this is probably not what I want to do -- it saves only the 428 # last name in a series. See rd.readfilename for a better name. 429 428 430 # try the file first with Readers that specify the 429 431 # file's extension and later with ones that merely allow it … … 459 461 rd.errors += "\n Traceback info:\n"+str(traceback.format_exc()) 460 462 if flag: # this read succeeded 463 rd.readfilename = filename 461 464 rd_list.append(copy.deepcopy(rd)) # save the result before it is written over 462 465 if rd.repeat: … … 1189 1192 HistName = G2obj.MakeUniqueLabel(HistName,PWDRlist) 1190 1193 print 'Read powder data '+str(HistName)+ \ 1191 ' from file '+str( self.lastimport) + \1194 ' from file '+str(rd.readfilename) + \ 1192 1195 ' with parameters from '+str(rd.instmsg) 1193 1196 # data are read, now store them in the tree
Note: See TracChangeset
for help on using the changeset viewer.