Ignore:
Timestamp:
May 16, 2007 7:37:45 PM (17 years ago)
Author:
mmc
Message:

Fixed a problem recently introduced with device structures on the
input side. app-rtd was having trouble changing the structure when
you changed devices via the loader.

Fix for support ticket #1631 'can't read "_axis(click-x)": no such
variable'. Added some code to guard against the case when release
gets called somehow before click.

Fix for support ticket #1688 'can't use empty string as operand of "-"'
Fix for support ticket #1689 'divide by zero'
Fix for support ticket #1707 'can't read "_dobj2cols(-energy)":
no such element in array'
All of these fixes had to do with the energy viewer, particularly
in the case where there was only 1 energy level, so the homo/lumo
levels could not be displayed.

Fix for support ticket #1704 'impossible limits (min 1.58489 >=
max 6.30957e-05)'
Added some code to guard against setting limits where min >= max.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gui/scripts/gauge.tcl

    r730 r738  
    234234        switch -- $itk_option(-type) {
    235235            integer {
    236                 if {![string is integer -strict $nv]} {
     236                if {![string is integer $nv]} {
    237237                    error "Should be an integer value"
    238238                }
    239239            }
    240240            real {
    241                 if {![string is double -strict $nv]
     241                if {![string is double $nv]
    242242                      || [regexp -nocase {^(inf|nan)$} $nv]} {
    243243                    error "Should be a real number"
Note: See TracChangeset for help on using the changeset viewer.