Ignore:
Timestamp:
Jul 10, 2013, 3:03:25 PM (11 years ago)
Author:
mmc
Message:

Fixed a problem with the resultset that surfaced during the "letters"
assignment in the summer bootcamp. With two results, the "Number of
Words" plot would show one result but not the other. The problem was
that one parameter would be something like "abc", and the other would
have spaces like "abc def". The resultset was not reporting diffs
properly for any value like that with spaces in it.

Also fixed a small problem in the tester diff method for boolean values.

File:
1 edited

Legend:

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

    r3330 r3770  
    248248            set irun [lindex [$_results find -format xmlobj $which] 0]
    249249            if {$irun ne ""} {
    250                 set val [$_results get -format $col $irun]
     250                set val [lindex [$_results get -format $col $irun] 0]
    251251                array set val2norm $rlist
    252252                if {[info exists val2norm($val)]} {
Note: See TracChangeset for help on using the changeset viewer.