diff --git a/DataQuality/DataQualityUtils/scripts/physval_make_web_display.py b/DataQuality/DataQualityUtils/scripts/physval_make_web_display.py index 00caa4b028f5b52fe6935076c5a26874739787fa..f11fe0c7c2a113828bb3773db01f8fcb11bbf825 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')