Changeset 3438 for trunk/GSASIIimgGUI.py


Ignore:
Timestamp:
Jun 18, 2018 11:35:30 AM (5 years ago)
Author:
vondreele
Message:

g2strIO
fix magnetic hkl extinctions in reflection generation
remove Uniq & Phi - never used
change all config 'debug' out put to have 'DBG' in message - many places
fix phoenix decode problem for Comments
Display transformation math on Transform dialog box & labels on matrix & vectors
use a general exception in getSelection (G2plot line 7141) to avoid crashes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIimgGUI.py

    r3358 r3438  
    13441344        l2 = len(data[key])
    13451345        if GSASIIpath.GetConfigValue('debug') and l1 != l2:
    1346             print ('Mask Cleanup: %s was %d entries, now %d'%(key,l1,l2))
     1346            print ('DBG_Mask Cleanup: %s was %d entries, now %d'%(key,l1,l2))
    13471347   
    13481348def UpdateMasks(G2frame,data):
     
    27372737            msg += 'PDF Processing Error: error with open or read of {}'.format(self.params['pdfprm'])
    27382738            if GSASIIpath.GetConfigValue('debug'):
    2739                 print(msg)
    2740                 print(err)
     2739                print('DBG_'+msg)
     2740                print('DBG_'+err)
    27412741            self.pdfControls = {}
    27422742            return msg
     
    29202920        interpDict,imgctrl,immask = self.Evaluator(dist) # interpolated calibration values
    29212921        if GSASIIpath.GetConfigValue('debug'):
    2922             print ('interpolated values: ',interpDict)
     2922            print ('DBG_interpolated values: ',interpDict)
    29232923        self.ImageControls = ReadControls(imgctrl)
    29242924        self.ImageControls.update(interpDict)
     
    32013201        if GSASIIpath.GetConfigValue('debug'):
    32023202            import datetime
    3203             print ("Timer tick at {:%d %b %Y %H:%M:%S}\n".format(datetime.datetime.now()))
     3203            print ("DBG_Timer tick at {:%d %b %Y %H:%M:%S}\n".format(datetime.datetime.now()))
    32043204        self.PreventReEntryTimer = False
    32053205        self.Raise()
Note: See TracChangeset for help on using the changeset viewer.