Changeset 4611 for trunk


Ignore:
Timestamp:
Oct 20, 2020 10:17:33 AM (14 months ago)
Author:
vondreele
Message:

fix RB atom names for either vector and residue RBs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIplot.py

    r4608 r4611  
    93509350            for ind,[x,y,z] in enumerate(XYZ):
    93519351                aType = testRBObj['rbAtTypes'][ind]
    9352                 if ind in testRBObj['NameLookup']:
    9353                     name = testRBObj['NameLookup'][ind]+' '
    9354                 else:
     9352                try:
     9353                    name = '  '+testRBObj['NameLookup'][ind]
     9354                except:
    93559355                    name = '  '+aType+str(ind)
    93569356                color = np.array(testRBObj['AtInfo'][aType][1])
Note: See TracChangeset for help on using the changeset viewer.