Changeset 3033 for trunk/gui/scripts
- Timestamp:
- Jun 12, 2012, 6:04:50 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/analyzer.tcl
r3030 r3033 496 496 if {[$_tool xml get tool.analyzer] == "last"} { 497 497 clear 498 }499 500 # look for all output.load children and load them first501 # each run.xml is loaded as a previous simulation.502 foreach item [$xmlobj children -type run output.load] {503 set loadfile [$xmlobj get output.load.$item]504 set loadobj [Rappture::library $loadfile]505 load $loadobj506 }507 508 foreach item [$xmlobj children -type run output.include] {509 set id [$xmlobj element -as id output.include.$item]510 set inclfile [$xmlobj get output.include.$item]511 set inclobj [Rappture::library $inclfile]512 foreach c [$inclobj children output] {513 switch -glob -- $c {514 # We don't want to include these tags.515 include* - time* - status* - user* {516 continue517 }518 default {519 set oldid [$inclobj element -as id output.$c]520 set oldtype [$inclobj element -as type output.$c]521 set newcomp "$oldtype\($id-$oldid\)"522 $xmlobj copy output.$newcomp from $inclobj output.$c523 }524 }525 }526 498 } 527 499
Note: See TracChangeset
for help on using the changeset viewer.