Ignore:
Timestamp:
Jan 23, 2007 7:29:54 AM (17 years ago)
Author:
mmc
Message:

Fixed a bug in sequences that was causing real values without units
to get scrambled. The real numbers weren't being recognized if they
didn't have an exponent, so the numbers were being dictionary sorted.

File:
1 edited

Legend:

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

    r456 r566  
    103103        set how -integer
    104104        foreach key [array names _dataobjs] {
    105             if {[regexp {^[0-9]+[eE][-+]?[0-9]+|([0-9]+)?\.[0-9]+([eE][-+]?[0-9]+)$} $key]} {
     105            if {[regexp {^[0-9]+[eE][-+]?[0-9]+|([0-9]+)?\.[0-9]+([eE][-+]?[0-9]+)?$} $key]} {
    106106                set how -real
    107107                break
     
    125125            }
    126126        }
    127     }
    128 }
     127puts "indices $how: $_indices"
     128    }
     129}
     130puts "loaded"
    129131
    130132# ----------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.