Changeset 695
- Timestamp:
- Dec 4, 2009 5:10:28 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/liveplot
- Property rcs:date changed from 2003/05/13 16:15:55 to 2003/05/22 21:40:10
- Property rcs:lines changed from +7 -3 to +11 -8
- Property rcs:rev changed from 1.32 to 1.33
r688 r695 947 947 global graph expgui peakinfo tcl_platform 948 948 if {$tcl_platform(platform) == "windows"} { 949 set fp [open [file join ~ gsas.config]a]949 set fp [open c:/gsas.config a] 950 950 } else { 951 951 set fp [open [file join ~ .gsas_config] a] 952 952 } 953 puts $fp "# LIVEPLOT saved options from [clock format [clock ticks]]" 953 954 foreach v {printout legend outname outcmd autoraise chi2 xunits yunits} { 954 955 puts $fp "set graph($v) [list $graph($v)]" … … 1878 1879 } 1879 1880 #------------------------------------------------------------------------- 1880 1881 1882 1881 # override options with locally defined values 1882 set filelist [file join $expgui(scriptdir) localconfig] 1883 if {$tcl_platform(platform) == "windows"} { 1884 lappend filelist "c:/gsas.config" 1885 } else { 1886 lappend filelist [file join ~ .gsas_config] 1887 } 1883 1888 if {[catch { 1884 foreach file [list \ 1885 [file join $expgui(scriptdir) localconfig] \ 1886 [file join ~ .gsas_config]] { 1889 foreach file $filelist { 1887 1890 if [file exists $file] {source $file} 1888 1891 }
Note: See TracChangeset
for help on using the changeset viewer.