Changeset 2327 for trunk/GSASIIobj.py


Ignore:
Timestamp:
Jun 16, 2016 8:34:05 AM (6 years ago)
Author:
vondreele
Message:

dist & angles now work for seq results table; esds are fake

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIobj.py

    r2326 r2327  
    20462046        self.su = None
    20472047        if self.eObj.expression.startswith('Dist'):
    2048             dist = 0
    20492048#            GSASIIpath.IPyBreak()
    20502049            dist = G2mth.CalcDist(self.eObj.distance_dict, self.eObj.distance_atoms, self.parmDict)
    2051             #self.su = G2mth.CalcDistSu(self.eObj.distance_dict, self.eObj.distance_atoms, self.parmDict)
     2050            self.su = G2mth.CalcDistSu(self.eObj.distance_dict, self.eObj.distance_atoms, self.parmDict)
    20522051            return dist
    20532052        elif self.eObj.expression.startswith('Angle'):
    2054             angle = 0
    2055             dist = G2mth.CalcAngle(self.eObj.angle_dict, self.eObj.angle_atoms, self.parmDict)
     2053            angle = G2mth.CalcAngle(self.eObj.angle_dict, self.eObj.angle_atoms, self.parmDict)
     2054            self.su = G2mth.CalcAngleSu(self.eObj.angle_dict, self.eObj.angle_atoms, self.parmDict)
    20562055            return angle
    20572056        if self.compiledExpr is None:
Note: See TracChangeset for help on using the changeset viewer.