Skip to content

Commit

Permalink
Fix #175: fix two bugs in dosxyz_gui
Browse files Browse the repository at this point in the history
1. Fix undefined variable 'the_vcu_code'
2. Change 'imuphspout' to 'imusphspout'
  • Loading branch information
blakewalters authored and ftessier committed Jan 24, 2017
1 parent 8a8210f commit 1824675
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion HEN_HOUSE/omega/progs/gui/dosxyznrc/load_input2_nrc.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ proc read_input {} {

set data [get_val $data arr 0]
set imuphspout $arr(0)
if {$imuphspout>1 || $imusphspout<0} { set imuphspout 0 }
if {$imuphspout>1 || $imuphspout<0} { set imuphspout 0 }
#now get the actual settings
for {set i 1} {$i<=$numsets} {incr i} {
gets $fileid data
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ proc reset_parameters { } {
set the_beam_code {}
set the_input_file {}
set the_pegs_file {}
set the_vcu_code {}

set values(21) {}
set nbit1 {}
Expand Down

0 comments on commit 1824675

Please sign in to comment.