Ignore:
Timestamp:
Aug 26, 2019 7:27:07 AM (3 years ago)
Author:
vondreele
Message:

subject image read time messages to debug control

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/imports/G2img_MAR.py

    r3146 r4112  
    9696        raw = np.frombuffer(File.read(),dtype=np.uint8)
    9797        image = np.flipud(pf.pack_f3(len(raw),raw,sizex,sizey,image).T)  #transpose to get it right way around & flip
    98     print ('image read time: %.3f'%(time.time()-time0))
     98    if GSASIIpath.GetConfigValue('debug'):
     99        print ('image read time: %.3f'%(time.time()-time0))
    99100    File.close()
    100101    if imageOnly:
Note: See TracChangeset for help on using the changeset viewer.