Changeset 2744 for trunk/gui/scripts/analyzer.tcl
- Timestamp:
- Dec 27, 2011 2:45:13 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/analyzer.tcl
r2686 r2744 438 438 set ::errorInfo "\n\n== RAPPTURE INPUT ==\n[$_tool xml xml]" 439 439 Rappture::bugreport::register "Problem launching job:\n$result" 440 440 Rappture::bugreport::attachment [$_tool xml xml] 441 441 Rappture::bugreport::send 442 442 } … … 560 560 _autoLabel $xmlobj output.$item "Sequence" counters 561 561 } 562 563 564 565 566 562 default { 563 if 0 { 564 puts stderr "unknown output $item" 565 } 566 } 567 567 } 568 568 set label [$xmlobj get output.$item.about.group] … … 589 589 } 590 590 set hidden [$xmlobj get output.$item.hide] 591 592 593 591 if { $hidden == "" } { 592 set hidden 0 593 } 594 594 if {"" != $label && !$hidden} { 595 595 if {![info exists _label2page($label)]} { … … 661 661 foreach label [array names _label2page] { 662 662 set page $_label2page($label) 663 663 destroy $page.rviewer 664 664 #$page.rviewer clear 665 665 } … … 1242 1242 set line [string trim $line] 1243 1243 if { $line == "" } { 1244 continue; 1244 continue; # Skip blank lines. 1245 1245 } 1246 1246 if { [string match "ENDMDL*" $line] } { … … 1288 1288 set line [string trim $line] 1289 1289 if { $line == "" } { 1290 continue; 1290 continue; # Skip blank lines 1291 1291 } 1292 1292 if {[regexp {^[\t ]*ITEM:[ \t]+ATOMS} $line] } { … … 1324 1324 # USAGE: _trajToSequence <xmlobj> ?<path>? 1325 1325 # 1326 # 1327 # 1328 # 1329 # 1330 # 1331 # 1326 # Check for PDB and LAMMPS trajectories in molecule data and rewrite 1327 # the individual models as a sequence of molecules. Used internally 1328 # to detect any molecule output elements that contain trajectory data. 1329 # Trajectories will be converted into sequences of individual molecules. 1330 # All other elements will be unaffected. Scans the entire xml tree if a 1331 # starting path is not specified. 1332 1332 # 1333 1333 # ---------------------------------------------------------------------- … … 1343 1343 set isTraj [$xmlobj get ${current}.components.molecule.trajectory] 1344 1344 if { $isTraj == "" || !$isTraj } { 1345 continue; 1345 continue; # Not a trajectory. 1346 1346 } 1347 1347 # Look for trajectory if molecule element found. Check both pdb
Note: See TracChangeset
for help on using the changeset viewer.