Ignore:
Timestamp:
Oct 17, 2010 8:49:03 PM (14 years ago)
Author:
gah
Message:
 
File:
1 edited

Legend:

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

    r1861 r1920  
    531531    set haveresults 0
    532532    foreach item [_reorder [$xmlobj children output]] {
    533         switch -glob -- $item {
    534             log* {
    535                 _autoLabel $xmlobj output.$item "Output Log" counters
    536             }
    537             number* {
    538                 _autoLabel $xmlobj output.$item "Number" counters
    539             }
    540             integer* {
    541                 _autoLabel $xmlobj output.$item "Integer" counters
    542             }
    543             string* {
    544                 _autoLabel $xmlobj output.$item "String" counters
    545             }
    546             histogram* - curve* - field* {
    547                 _autoLabel $xmlobj output.$item "Plot" counters
    548             }
    549             structure* {
    550                 _autoLabel $xmlobj output.$item "Structure" counters
    551             }
    552             table* {
    553                 _autoLabel $xmlobj output.$item "Energy Levels" counters
    554             }
    555             sequence* {
    556                 _autoLabel $xmlobj output.$item "Sequence" counters
    557             }
    558         }
    559         set label [$xmlobj get output.$item.about.group]
    560         if {"" == $label} {
    561             set label [$xmlobj get output.$item.about.label]
    562         }
     533        switch -glob -- $item {
     534            log* {
     535                _autoLabel $xmlobj output.$item "Output Log" counters
     536            }
     537            number* {
     538                _autoLabel $xmlobj output.$item "Number" counters
     539            }
     540            integer* {
     541                _autoLabel $xmlobj output.$item "Integer" counters
     542            }
     543            string* {
     544                _autoLabel $xmlobj output.$item "String" counters
     545            }
     546            histogram* - curve* - field* - drawing3d* {
     547                _autoLabel $xmlobj output.$item "Plot" counters
     548            }
     549            structure* {
     550                _autoLabel $xmlobj output.$item "Structure" counters
     551            }
     552            table* {
     553                _autoLabel $xmlobj output.$item "Energy Levels" counters
     554            }
     555            sequence* {
     556                _autoLabel $xmlobj output.$item "Sequence" counters
     557            }
     558        }
     559        set label [$xmlobj get output.$item.about.group]
     560        if {"" == $label} {
     561            set label [$xmlobj get output.$item.about.label]
     562        }
    563563
    564564        set hidden [$xmlobj get output.$item.hide]
     
    13241324# ----------------------------------------------------------------------
    13251325itcl::body Rappture::Analyzer::_trajToSequence {xmlobj {path ""}} {
    1326     puts stderr "path=$path"
    13271326    # Remove leading dot from path, if present.
    13281327    if { [string index $path 0] == "." } {
Note: See TracChangeset for help on using the changeset viewer.