Skip to content
Snippets Groups Projects
Commit 5f96dda8 authored by Walter Lampl's avatar Walter Lampl
Browse files

Merge branch 'physval_make_display_optparse-fix' into 'master'

correct types of the type args in optparse to strings, it fixes a problem observed in ATR-21339

See merge request atlas/athena!32529
parents 6ee32295 eecb5639
No related branches found
No related tags found
6 merge requests!58791DataQualityConfigurations: Modify L1Calo config for web display,!46784MuonCondInterface: Enable thread-safety checking.,!46776Updated LArMonitoring config file for WD to match new files produced using MT,!45405updated ART test cron job,!42417Draft: DIRE and VINCIA Base Fragments for Pythia 8.3,!32529correct types of the type args in optparse to strings, it fixes a problem observed in ATR-21339
......@@ -303,7 +303,7 @@ if __name__=="__main__":
help='Start from this subdirectory of the file')
parser.add_option('--histlistfile',
help='text file with a list of regexes/histogram names')
parser.add_option('--scaleref', type=float, default=1,
parser.add_option('--scaleref', type="float", default=1,
help='Scale references by this value')
parser.add_option('--Kolmogorov', default=False, action='store_true',
help='Run Kolmogorov test instead of Chi2 test')
......@@ -313,9 +313,9 @@ 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=None, type=float,
parser.add_option('--ratiorange', default=None, type="float",
help='set range for ratio plots (as delta to 1.0)')
parser.add_option('--refmangle', default=None, type=str,
parser.add_option('--refmangle', default=None, type="string",
help='provide a Python module to translate histogram names between test and reference files. Module should provide\na function mangle(testhistoname, reflabel)')
options, args = parser.parse_args()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment