/[ascend]/trunk/pygtk/observer.py
ViewVC logotype

Diff of /trunk/pygtk/observer.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 862 by johnpye, Thu Sep 21 12:54:43 2006 UTC revision 863 by johnpye, Thu Sep 28 08:17:18 2006 UTC
# Line 95  class ObserverRow: Line 95  class ObserverRow:
95          print "ROW VALUES:",self.values          print "ROW VALUES:",self.values
96          _v = []          _v = []
97          for col in table.cols.values():          for col in table.cols.values():
98              _v.append( col.instance.getRealValue() / col.units.getConversion() )              _v.append( col.instance.getRealValue() )
99          self.values = _v          self.values = _v
100          print "Made static, values:",self.values          print "Made static, values:",self.values
101    
# Line 105  class ObserverRow: Line 105  class ObserverRow:
105          else:          else:
106              _v = []              _v = []
107              for index,col in table.cols.iteritems():              for index,col in table.cols.iteritems():
108                  _v.append( col.instance.getRealValue() / col.units.getConversion() )                  _v.append( col.instance.getRealValue() )
109              return _v              return _v
110    
111  class ObserverTab:  class ObserverTab:

Legend:
Removed from v.862  
changed lines
  Added in v.863

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22