Changeset 1978 for trunk/GSASIIphsGUI.py
- Timestamp:
- Sep 24, 2015 4:34:39 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIphsGUI.py
r1964 r1978 2378 2378 iatm,item = Indx[Obj.GetId()] 2379 2379 nt = numVals[Stype] 2380 if not len(atomData[iatm][-1][SS][item]) and waveType in [' ZigZag','Sawtooth'] and Stype == 'Spos':2380 if not len(atomData[iatm][-1][SS][item]) and waveType in ['Sawtooth',] and Stype == 'Spos': 2381 2381 nt = 4 2382 2382 atomData[iatm][-1][SS][item].append([[0.0 for i in range(nt)],False]) … … 2430 2430 Waves = wx.FlexGridSizer(0,4,5,5) 2431 2431 elif Stype == 'Spos': 2432 if waveType in [' ZigZag','Sawtooth'] and not iwave:2432 if waveType in ['Sawtooth',] and not iwave: 2433 2433 names = Names[6:] 2434 2434 Waves = wx.FlexGridSizer(0,6,5,5) … … 2526 2526 magNames = ['MXsin','MYsin','MZsin','MXcos','MYcos','MZcos'] 2527 2527 fracNames = ['Fsin','Fcos','Fzero','Fwid'] 2528 waveTypes = ['Fourier','Sawtooth',' ZigZag','Crenel/Fourier']2528 waveTypes = ['Fourier','Sawtooth','Crenel/Fourier'] 2529 2529 Labels = {'Spos':posNames,'Sfrac':fracNames,'Sadp':adpNames,'Smag':magNames} 2530 2530 mainSizer.Add(wx.StaticText(waveData,label=' Incommensurate propagation wave data:'),0,WACV)
Note: See TracChangeset
for help on using the changeset viewer.