diff --git a/DataQuality/DataQualityUtils/scripts/physval_make_web_display.py b/DataQuality/DataQualityUtils/scripts/physval_make_web_display.py index 7c3e394b8a289e139d60ff27d8f7d5c218a3e477..ece67fc82208fe3f9db2991436a9f70d83279dfd 100755 --- a/DataQuality/DataQualityUtils/scripts/physval_make_web_display.py +++ b/DataQuality/DataQualityUtils/scripts/physval_make_web_display.py @@ -65,11 +65,11 @@ def recurse(rdir, dqregion, ignorepath, refs=None, displaystring='Draw=PE', disp dqpar = dqregion.newDQParameter( **dqpargs) drawstrs = [] if not options.normalize: drawstrs.append('NoNorm') - if options.logy and (cl.startswith('TH1') or cl.startswith('TProfile')): drawstrs.append('LogY') - if options.logy and cl.startswith('TH2'): drawstrs.append('LogZ') + if options.logy and (cl.startswith('TH1') or cl=='TProfile'): drawstrs.append('LogY') + if options.logy and (cl.startswith('TH2') or cl=='TProfile2D'): drawstrs.append('LogZ') if cl.startswith('TH1'): drawstrs.append(displaystring) - if cl.startswith('TProfile'): drawstrs.append(displaystring) - if cl.startswith('TH2'): drawstrs.append(displaystring2D) + if cl == 'TProfile': drawstrs.append(displaystring) + if cl.startswith('TH2') or cl=='TProfile2D': drawstrs.append(displaystring2D) if options.scaleref != 1: drawstrs.append('ScaleRef=%f' % options.scaleref) if options.ratio: drawstrs.append('RatioPad') #if options.ratio: drawstrs.append('Ref2DSignif')