Ignore:
Timestamp:
Sep 21, 2016 10:01:41 AM (9 years ago)
Author:
vondreele
Message:

fix spin transform errors - now match old GSAS
fix spin flip import error from EXP file
fix bug on new phase after display on draw atoms (etc.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/imports/G2phase.py ΒΆ

    r2473 r2475  
    262262                    self.warnings += "Change this in phase's General tab."                       
    263263            elif 'SPNFLP' in key:
    264                 SpnFlp = [int(s) for s in EXPphase[key].split()]
     264                SpnFlp = np.array([int(float(s)) for s in EXPphase[key].split()])
     265                SpnFlp = np.where(SpnFlp==0,1,SpnFlp)
    265266                if SGData['SpGrp'][0] in ['A','B','C','I','R','F']:
    266267                    SpnFlp += [1,1,1,1]
Note: See TracChangeset for help on using the changeset viewer.