ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/RateMonShiftTool_dev/AddTableInfo_db.py
(Generate patch)

Comparing UserCode/RateMonShiftTool_dev/AddTableInfo_db.py (file contents):
Revision 1.32 by grchrist, Mon Jul 2 12:48:31 2012 UTC vs.
Revision 1.33 by grchrist, Mon Jul 2 12:52:29 2012 UTC

# Line 91 | Line 91 | def MoreTableInfo(parser,LumiRange,confi
91      ## Check if the express stream is too high or low
92      ##########################################
93      global NHighExpress
94 <    badExpress = ((ExpRate/len(LumiRange) > config.MaxExpressRate) or ExpRate/len(LumiRange)<0.1) ## avg express stream rate too high?
94 >    badExpress = ((ExpRate/len(LumiRange) > config.MaxExpressRate) or (ExpRate/len(LumiRange)<0.1 and isCol)) ## avg express stream rate too high?
95      baseText = "\nCurrent Express Stream rate is: %0.1f Hz" % (ExpRate/len(LumiRange),) ## text to display
96      if badExpress:
97          text = colored(baseText,'red',attrs=['reverse'])  ## bad, make the text white on red

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines