Changeset 3310


Ignore:
Timestamp:
Mar 5, 2018 4:28:16 PM (4 years ago)
Author:
vondreele
Message:

still more magsym fixes

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIspc.py

    r3309 r3310  
    11391139                FlpSpn = [1,]+FlpSpn
    11401140                SpnFlp = np.concatenate((SpnFlp,SpnFlp[:Nsym]*FlpSpn[Nfl+incv-1]))                   
    1141     if ' 1bar ' in SGData['GenSym'][0] and FlpSpn[0] < 0:
    1142         detM[1] = 1.
     1141#    if ' 1bar ' in SGData['GenSym'][0] and FlpSpn[0] < 0:
     1142#        detM[1] = 1.
    11431143    MagMom = SpnFlp*np.array(Ncv*detM)
    11441144    SGData['MagMom'] = MagMom
  • trunk/imports/G2phase_GPX.py

    r3136 r3310  
    7878        self.Phase['Pawley ref'] = []       # & any Pawley refl.
    7979        self.Phase['RBModels'] = {}
    80         del self.Phase['MCSA']
     80        if 'MCSA' in self.Phase:
     81            del self.Phase['MCSA']
    8182        if 'Map Peaks' in self.Phase:
    8283            del self.Phase['Map Peaks']
    83         del self.Phase['General']['Map']
     84        if 'Map' in self.Phase['General']:
     85            del self.Phase['General']['Map']
    8486        self.Phase['ranId'] = ran.randint(0,sys.maxsize)
    8587        return True
Note: See TracChangeset for help on using the changeset viewer.