Changeset 3563
- Timestamp:
- Aug 15, 2018 3:02:10 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIIimgGUI.py
r3521 r3563 360 360 Source = G2frame.GPXtree.GetItemText(G2frame.Image) 361 361 # Assemble a list of item labels 362 keyList = ['type',' wavelength','calibrant','distance','center','Oblique',362 keyList = ['type','color','wavelength','calibrant','distance','center','Oblique', 363 363 'tilt','rotation','azmthOff','fullIntegrate','LRazimuth','setdist', 364 364 'IOtth','outChannels','outAzimuths','invert_x','invert_y','DetDepth', … … 408 408 def WriteControls(filename,data): 409 409 File = open(filename,'w') 410 keys = ['type',' wavelength','calibrant','distance','center','Oblique',410 keys = ['type','color','wavelength','calibrant','distance','center','Oblique', 411 411 'tilt','rotation','azmthOff','fullIntegrate','LRazimuth','setdist', 412 412 'IOtth','outChannels','outAzimuths','invert_x','invert_y','DetDepth', … … 468 468 469 469 def LoadControls(Slines,data): 470 cntlList = [' wavelength','distance','tilt','invert_x','invert_y','type','Oblique',470 cntlList = ['color','wavelength','distance','tilt','invert_x','invert_y','type','Oblique', 471 471 'fullIntegrate','outChannels','outAzimuths','LRazimuth','IOtth','azmthOff','DetDepth', 472 472 'calibskip','pixLimit','cutoff','calibdmin','Flat Bkg','varyList','setdist', … … 477 477 continue 478 478 [key,val] = S.strip().split(':',1) 479 if key in ['type','calibrant','binType','SampleShape', ]: #strings479 if key in ['type','calibrant','binType','SampleShape','color',]: #strings 480 480 save[key] = val 481 481 elif key in ['varyList',]:
Note: See TracChangeset
for help on using the changeset viewer.