Use sics_config.ini to generate 12T magnet setup on Taipan.
This commit is contained in:
@@ -73,7 +73,6 @@ proc config_reader::parse_file {filename} {
|
||||
return $dictionary
|
||||
}
|
||||
|
||||
if { "[lindex [split [info nameofexecutable] "/"] end]" == "tclsh"} {
|
||||
proc config_reader::dump {{the_config startup.ini}} {
|
||||
set my_dict [config_reader::parse_file $the_config]
|
||||
puts "Dict: $my_dict"
|
||||
@@ -88,6 +87,8 @@ if { "[lindex [split [info nameofexecutable] "/"] end]" == "tclsh"} {
|
||||
}
|
||||
return $my_dict
|
||||
}
|
||||
|
||||
if { "[lindex [split [info nameofexecutable] "/"] end]" == "tclsh"} {
|
||||
set filename "/tmp/test_[pid].ini"
|
||||
set sects [list]
|
||||
lappend sects "\[Section_1\]"
|
||||
|
||||
Reference in New Issue
Block a user