- Timestamp:
- Jun 24, 2010, 8:55:13 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/molvisviewer.tcl
r1763 r1778 772 772 # lammps dump file overwrites pdb file (change this?) 773 773 set lammpstypemap [$dataobj get components.molecule.lammpstypemap] 774 if { "" != $lammpstypemap} {775 set lammpstypemap [split $lammpstypemap " "]776 }777 774 set lammpsdata [$dataobj get components.molecule.lammps] 778 775 if {"" != $lammpsdata} { … … 795 792 } else { 796 793 set atom [lindex $lammpstypemap [expr $type - 1]] 794 if { "" == $atom} { 795 set atom $type 796 } 797 797 } 798 798 set pdbline [format "%6s%5d %4s%1s%3s %1s%5s %8.3f%8.3f%8.3f%6.2f%6.2f%8s\n" $recname $id $atom $altLoc $resName $chainID $Seqno $x $y $z $occupancy $tempFactor $recID]
Note: See TracChangeset
for help on using the changeset viewer.