Changeset 2296


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.

Location:
trunk
Files:
2 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']
  • trunk/imports/G2img_GE.py

    r2290 r2296  
    162162    File.close()
    163163    if GSASIIpath.GetConfigValue('debug'):
    164         print 'Read GE file: '+filename+' image #'+str(imagenum)
     164        print 'Read GE file: '+filename+' image #'+'%04d'%(imagenum)
    165165    return head,data,Npix,image,more
Note: See TracChangeset for help on using the changeset viewer.