Ignore:
Timestamp:
Aug 3, 2016 8:14:47 PM (5 years ago)
Author:
vondreele
Message:

change spin flip from red/black to -1/1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/imports/G2phase.py

    r2401 r2406  
    261261                    self.warnings += "Change this in phase's General tab."                       
    262262            elif 'SPNFLP' in key:
    263                 spin = {'1':'black','-1':'red'}
    264                 SpnFlp = [spin[s.strip()] for s in EXPphase[key].split()]               
     263                SpnFlp = [int(s) for s in EXPphase[key].split()]               
    265264            elif 'OD    ' in key:
    266265                SHdata = EXPphase[key].split() # may not have all 9 values
Note: See TracChangeset for help on using the changeset viewer.