Changeset 2319 for trunk/GSASIIgrid.py


Ignore:
Timestamp:
Jun 14, 2016 6:17:31 AM (7 years ago)
Author:
vondreele
Message:

remove stray print & add \n to Dist argument for better column heading
fix symm problem in CalcDist? for seq distances

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIgrid.py

    r2318 r2319  
    27662766           
    27672767    def AddNewDistPseudoVar(event):
    2768         print 'Add bond distance pseudo-variable here - TBD'
    27692768        obj = None
    27702769        dlg = G2exG.BondDialog(
     
    27962795                # create an expression object
    27972796                obj = G2obj.ExpressionObj()
    2798                 obj.expression = 'Dist(%s,%s)'%(Oatom,Tatom.split(' d=')[0].replace(' ',''))
     2797                obj.expression = 'Dist(%s,\n%s)'%(Oatom,Tatom.split(' d=')[0].replace(' ',''))
    27992798                obj.distance_dict = {'pId':pId,'SGData':SGData,'symNo':symNo,'cellNo':cellNo}
    28002799                obj.distance_atoms = [oId,tId]
Note: See TracChangeset for help on using the changeset viewer.