Changeset 2539 for trunk/GSASII.py


Ignore:
Timestamp:
Nov 21, 2016 11:13:37 AM (5 years ago)
Author:
vondreele
Message:

fix to unicode character in directory name problem
numerous unused parameters removed - more to come

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASII.py

    r2532 r2539  
    2222import random as ran
    2323import time
    24 import copy
    2524import glob
    2625import imp
     
    329328    def PreviewFile(self,filename,fp):
    330329        'confirm we have the right file'
    331         rdmsg = 'File '+str(filename)+' begins:\n\n'
     330        rdmsg = 'File '+repr(filename)+' begins:\n\n'
    332331        for i in range(3):
    333332            rdmsg += fp.readline()
     
    910909        while item: # loop over (new) phases
    911910            iph += 1
    912             phaseName = self.PatternTree.GetItemText(item)
    913911            data = self.PatternTree.GetItemPyData(item)
    914912            item, cookie = self.PatternTree.GetNextChild(sub, cookie)
Note: See TracChangeset for help on using the changeset viewer.