Changeset 1157


Ignore:
Timestamp:
Nov 27, 2013 10:04:18 AM (8 years ago)
Author:
vondreele
Message:

make prints as DEBUG options

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIIO.py

    r1156 r1157  
    4040import os
    4141import os.path as ospath
     42
     43DEBUG = False       #=True for various prints
    4244
    4345def sfloat(S):
     
    457459            Value = st.unpack(byteOrd+nVal*'f',File.read(nVal*4))
    458460        IFD[Tag] = [Type,nVal,Value]
    459         print Tag,IFD[Tag]
     461        if DEBUG: print Tag,IFD[Tag]
    460462    sizexy = [IFD[256][2][0],IFD[257][2][0]]
    461463    [nx,ny] = sizexy
Note: See TracChangeset for help on using the changeset viewer.