Changeset 6296
- Timestamp:
- Apr 30, 2016, 12:10:41 PM (9 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/1.6 merged: 6282
- Property svn:mergeinfo changed
-
trunk/gui/apps/launcher.tcl
r5663 r6296 42 42 set params(execute) "" 43 43 set params(input) "" 44 45 set rapptureInfo(cwd) [pwd] 44 46 45 47 if {[info exists env(TOOL_PARAMETERS)]} { -
trunk/gui/scripts/responseviewer.tcl
r6032 r6296 147 147 148 148 itcl::body Rappture::ResponseViewer::_plot_response {var1 var2} { 149 #puts "plotting $var1 vs $var2"150 151 set fname response_result.xml152 153 set rs $_response154 if {[catch {exec puq get_response $fname $rs $var1 $var2 $_label} res]} {149 #puts stderr "plotting $var1 vs $var2" 150 global rapptureInfo 151 set fname [file join $rapptureInfo(cwd) "response_result.xml"] 152 if { [catch { 153 exec puq.sh get_response $fname $_response $var1 $var2 $_label 154 } res] != 0 } { 155 155 set fp [open "response.err" r] 156 156 set rdata [read $fp] 157 157 close $fp 158 puts "Surrogate Model failed: $res\n$rdata"158 puts stderr "Surrogate Model failed: $res\n$rdata" 159 159 error "Sampling of Surrogate Model failed: $res\n$rdata" 160 160 # FIXME: Maybe put in text box instead of error()? … … 163 163 164 164 set xmlobj [Rappture::library $fname] 165 #puts "xmlobj=$xmlobj"165 #puts stderr "xmlobj=$xmlobj" 166 166 set w $itk_component(frame).field 167 167 -
trunk/lang/tcl/scripts/library.tcl
r6021 r6296 75 75 close $fid 76 76 } errs] != 0 } { 77 global errorInfo 77 78 puts stderr "can't open \"$fname\": errs=$errs errorInfo=$errorInfo" 78 79 } … … 90 91 close $fid 91 92 } errs] != 0 } { 93 global errorInfo 92 94 puts stderr "can't open \"$fname\": errs=$errs errorInfo=$errorInfo" 93 95 } … … 1067 1069 # ---------------------------------------------------------------------- 1068 1070 itcl::body Rappture::LibraryObj::uq_get_vars {{tfile ""}} { 1069 set varout \[1070 set varlist []1071 set varout "\[" 1072 set varlist {} 1071 1073 1072 1074 if {$tfile == ""} { -
trunk/lang/tcl/scripts/task.tcl
r6217 r6296 218 218 219 219 # write out the driver.xml file for the tool 220 set file "driver[pid].xml" 220 global rapptureInfo 221 set file [file join $rapptureInfo(cwd) "driver[pid].xml"] 221 222 set status [catch { 222 223 set fid [open $file w] … … 578 579 set rdir $_resources(-resultdir) 579 580 } else { 580 set rdir "." 581 global rapptureInfo 582 set rdir $rapptureInfo(cwd) 581 583 } 582 584 } elseif {$resultdir ne ""} { -
trunk/puq/puq.sh.in
r6191 r6296 21 21 script=$1 22 22 shift 23 exec ${python} ${puq_exec_prefix}/${script}.py $*23 exec ${python} ${puq_exec_prefix}/${script}.py "$@" 24 24
Note: See TracChangeset
for help on using the changeset viewer.