From 870cdad8a1101937cea5c9a512eba9df1cebb714 Mon Sep 17 00:00:00 2001
From: Alexander Mann <amann@uni-goettingen.de>
Date: Mon, 4 Jun 2018 10:21:40 +0000
Subject: [PATCH] set default for new option --ratiorange to None (instead of
 1.0), yielding previous hard-coded range as default (0.75)

Former-commit-id: e68bad9dc5ea0fce4e58685db6b5b12df66fe534
---
 .../DataQualityUtils/scripts/physval_make_web_display.py        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/DataQuality/DataQualityUtils/scripts/physval_make_web_display.py b/DataQuality/DataQualityUtils/scripts/physval_make_web_display.py
index 14e5ed8e0fc..00caa4b028f 100755
--- a/DataQuality/DataQualityUtils/scripts/physval_make_web_display.py
+++ b/DataQuality/DataQualityUtils/scripts/physval_make_web_display.py
@@ -296,7 +296,7 @@ if __name__=="__main__":
                       help='Draw 2D histograms with ratio plots')
     parser.add_option('--jsRoot',action='store_true', default=False,
                       help="make interactive jsRoot displays")
-    parser.add_option('--ratiorange', default=1.0, type=float,
+    parser.add_option('--ratiorange', default=None, type=float,
                       help='set range for ratio plots (as delta to 1.0)')
 
     options, args = parser.parse_args()
-- 
GitLab