Changeset 2296 for trunk/GSASIIIO.py


Ignore:
Timestamp:
May 26, 2016 11:59:28 AM (6 years ago)
Author:
vondreele
Message:

make frame numbers 4 place zero filled per Bjorn's request.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIIO.py

    r2290 r2296  
    281281    ImageTag = Data.get('ImageTag')
    282282    if ImageTag:
    283         TreeLbl += ' #'+str(ImageTag)
     283        TreeLbl += ' #'+'%04d'%(ImageTag)
    284284        imageInfo = (imagefile,ImageTag)
    285285    else:
     
    902902                    nOcc += 1
    903903                item, cookie = G2frame.PatternTree.GetNextChild(G2frame.root, cookie)
    904             Aname += '(%03d)'%(nOcc)
     904            Aname += '(%3d)'%(nOcc)
    905905        Sample = G2pdG.SetDefaultSample()
    906906        Sample['Gonio. radius'] = data['distance']
Note: See TracChangeset for help on using the changeset viewer.