Changeset 766 for trunk/tcl


Ignore:
Timestamp:
Jun 10, 2007, 4:06:35 PM (17 years ago)
Author:
mmc
Message:

Fixed the output viewer for numbers/integers to show a plot of
the value versus input parameters. As you change the ResultSet?
control, the x-axis updates to show the number versus values
in the result set.

Fixed the Rappture::result command to include the user's login
in the metadata, so we know who performed the computation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tcl/scripts/result.tcl

    r171 r766  
    3131# ----------------------------------------------------------------------
    3232proc Rappture::result {libobj {status 0}} {
     33    global tcl_platform
     34
    3335    $libobj put output.time [clock format [clock seconds]]
    3436    if {$status != 0} {
     
    3638    } else {
    3739        $libobj put output.status "ok"
     40    }
     41
     42    if {[info exists tcl_platform(user)]} {
     43        $libobj put output.user $tcl_platform(user)
    3844    }
    3945
Note: See TracChangeset for help on using the changeset viewer.