Ignore:
Timestamp:
May 26, 2020 11:44:22 AM (4 years ago)
Author:
vondreele
Message:

cleanup of GenAtom?
fix Dist Angle calcs for an imported phase with no errors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIstrMain.py

    r4416 r4441  
    616616    Amat,Bmat = G2lat.cell2AB(Cell[:6])
    617617    covData = {}
    618     if 'covData' in DisAglData:
     618    if len(DisAglData.get('covData',{})):
    619619        covData = DisAglData['covData']
    620620        covMatrix = covData['covMatrix']
     
    647647            Xvcov = []
    648648            TxyzNames = ''
    649             if 'covData' in DisAglData:
     649            if len(DisAglData.get('covData',{})):
    650650                OxyzNames = [pfx+'dAx:%d'%(Oatom[0]),pfx+'dAy:%d'%(Oatom[0]),pfx+'dAz:%d'%(Oatom[0])]
    651651                TxyzNames = [pfx+'dAx:%d'%(Tatom[0]),pfx+'dAy:%d'%(Tatom[0]),pfx+'dAz:%d'%(Tatom[0])]
     
    729729    Amat,Bmat = G2lat.cell2AB(Cell[:6])
    730730    covData = {}
    731     if 'covData' in DisAglData:
     731    if len(DisAglData.get('covData',{})):
    732732        covData = DisAglData['covData']
    733733        pfx = str(DisAglData['pId'])+'::'
Note: See TracChangeset for help on using the changeset viewer.