/[pdpsoft]/nl.nikhef.ndpf.groupviews/trunk/ndpf-gv-mkplots
ViewVC logotype

Diff of /nl.nikhef.ndpf.groupviews/trunk/ndpf-gv-mkplots

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

revision 2663 by templon, Thu Aug 1 15:00:10 2013 UTC revision 2664 by templon, Mon Aug 5 14:52:38 2013 UTC
# Line 151  def doplot(glist, dbtype, psize, timetag Line 151  def doplot(glist, dbtype, psize, timetag
151          if 'unused'  in grouplist: grouplist.remove('unused')          if 'unused'  in grouplist: grouplist.remove('unused')
152          if 'offline' in grouplist: grouplist.remove('offline')          if 'offline' in grouplist: grouplist.remove('offline')
153            
154        if ranktype == 'bottom':
155            if 'unused'  in glist:
156                glist.remove('unused')
157                glist.insert(0,'unused')
158            if 'offline'  in glist:
159                glist.remove('offline')
160                glist.insert(0,'offline')
161                
162      if ranktype == 'top':      if ranktype == 'top':
163          for group in (grouplist + ['total']):          for group in (grouplist + ['total']):
164              data_defs.append('DEF:'+group+'='+DATADIR+group+'.'+dbtype+'.rrd:'+dbtype+':AVERAGE')              data_defs.append('DEF:'+group+'='+DATADIR+group+'.'+dbtype+'.rrd:'+dbtype+':AVERAGE')

Legend:
Removed from v.2663  
changed lines
  Added in v.2664

grid.support@nikhef.nl
ViewVC Help
Powered by ViewVC 1.1.28