Changeset 478
- Timestamp:
- Dec 4, 2009 5:06:50 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/expgui
- Property rcs:date changed from 2001/10/18 23:22:57 to 2001/10/31 20:06:10
- Property rcs:lines changed from +40 -127 to +16 -6
- Property rcs:rev changed from 1.49 to 1.50
r466 r478 136 136 # commands for preferred orientation 137 137 source [file join $expgui(scriptdir) orient.tcl] 138 # setting data range/excluded regions 139 source [file join $expgui(scriptdir) exclinit.tcl] 138 140 #--------------------------------------------------------------------------- 139 141 # override options with locally defined values … … 254 256 if {$ans != "use new name" && [file exists $expfile]} { 255 257 # get the last archived version 256 set lastf [lindex [lsort [glob $expnam.{O\[0-9A-F\]\[0-9A-F\]}]] end]258 set lastf [lindex [lsort [glob -nocomplain $expnam.{O\[0-9A-F\]\[0-9A-F\]}]] end] 257 259 if {$lastf == ""} { 258 260 set num 01 … … 506 508 # save some of the global options in ~/.gsas_config 507 509 proc SaveOptions {} { 508 global expgui env tcl_platform 510 global expgui env tcl_platform graph peakinfo 509 511 set fp [open [file join ~ .gsas_config] a] 510 foreach item {archive asorttype hsorttype filesort disaglSeparateBox font autoexpload autoiconify} { 512 foreach item {archive asorttype hsorttype filesort disaglSeparateBox \ 513 font autoexpload autoiconify autotick} { 511 514 puts $fp "set expgui($item) $expgui($item)" 512 515 } 513 516 if {$tcl_platform(platform) != "windows"} { 514 517 puts $fp "set env(GSASBACKSPACE) $env(GSASBACKSPACE)" 518 } 519 foreach v {printout legend outname outcmd autoraise color_excl \ 520 color_obs color_calc} { 521 puts $fp "set graph($v) $graph($v)" 522 } 523 foreach v {obssym obssize exclsym exclsize} { 524 puts $fp "set peakinfo($v) $peakinfo($v)" 515 525 } 516 526 close $fp … … 1204 1214 3 "Select 1 or more\nAlpha 1,2 X-ray Histograms" 1205 1215 4 "Select 1 or more\nmonochromatic X-ray Histograms" 1206 5 "Select 1 or more Energy\nDisper ive X-ray Histograms"1216 5 "Select 1 or more Energy\nDispersive X-ray Histograms" 1207 1217 6 "Select 1 or more of\n any type Histograms" 1208 1218 }
Note: See TracChangeset
for help on using the changeset viewer.