Changeset 3228


Ignore:
Timestamp:
Jan 16, 2018 5:11:37 PM (4 years ago)
Author:
toby
Message:

fix rename of PWDR entries

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIIO.py

    r3217 r3228  
    213213
    214214    if not os.path.exists(imagefile):
     215        # note that this fails (at least on Mac) to get an image during the GUI initialization
    215216        prevnam = os.path.split(imagefile)[1]
    216217        prevext = os.path.splitext(imagefile)[1]
  • trunk/GSASIIdataGUI.py

    r3219 r3228  
    34733473                    name = dataType+dlg.GetValue()+names[1]
    34743474                    self.GPXtree.SetItemText(self.PickId,name)
     3475                    if 'PWDR' in name:
     3476                        self.GPXtree.GetItemPyData(self.PickId)[2] = name
    34753477            finally:
    34763478                dlg.Destroy()
  • trunk/GSASIIpwdGUI.py

    r3227 r3228  
    10391039        parmDict.update(bakDict)
    10401040        parmDict.update(insDict)
     1041        # Note that this generates a MaskedArrayFutureWarning, but these items are not always masked
    10411042        pwddata[3][xBeg:xFin] *= 0.
    10421043        pwddata[5][xBeg:xFin] *= 0.
Note: See TracChangeset for help on using the changeset viewer.