Changeset 1913 for trunk/GSASII.py


Ignore:
Timestamp:
Jun 29, 2015 9:55:29 AM (7 years ago)
Author:
vondreele
Message:

fix sfact importers so twin id=1 by default
GUI details for twins fixed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASII.py

    r1912 r1913  
    834834                G,g = G2lat.cell2Gmat(generalData['Cell'][1:7])
    835835                UseList[histoName]['Twins'] = [[np.array([[1,0,0],[0,1,0],[0,0,1]]),[1.0,False]],]
    836                 for iT in range(reflData['TwMax']):
     836                for iT in range(reflData.get('TwMax',0)):
    837837                    UseList[histoName]['Twins'].append([[],0.0])
    838838                for iref,ref in enumerate(reflData['RefList']):
Note: See TracChangeset for help on using the changeset viewer.