calcurve_read: fix missing calibrange keyword
+ seaman: fix get_devices
This commit is contained in:
@ -552,10 +552,10 @@ proc lsc::read_curve_inp {} {
|
|||||||
excit - range - rang {
|
excit - range - rang {
|
||||||
error "[sct Data_File]: replace 'excit' and 'range' by 'intype'"
|
error "[sct Data_File]: replace 'excit' and 'range' by 'intype'"
|
||||||
}
|
}
|
||||||
form - intype - loadfmt {
|
form - intype - loadfmt - calibrange {
|
||||||
}
|
}
|
||||||
default {
|
default {
|
||||||
error "[sct Data_File]: unknown keyword"
|
error "[sct Data_File]: unknown keyword $keyword"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
sct $keyword $value
|
sct $keyword $value
|
||||||
|
@ -370,6 +370,7 @@ proc show {{key ""}} {
|
|||||||
|
|
||||||
proc get_devices {args} {
|
proc get_devices {args} {
|
||||||
set ilist [split $args ","]
|
set ilist [split $args ","]
|
||||||
|
set result [list]
|
||||||
foreach ins $ilist {
|
foreach ins $ilist {
|
||||||
set dev [silent {} result samenv_list $ins]
|
set dev [silent {} result samenv_list $ins]
|
||||||
if {$dev eq ""} {
|
if {$dev eq ""} {
|
||||||
|
Reference in New Issue
Block a user