diff --git a/validation/multichan_coupledhistosys_histfactory/makedata.py b/validation/multichan_coupledhistosys_histfactory/makedata.py index fdabc01721..b09298329f 100644 --- a/validation/multichan_coupledhistosys_histfactory/makedata.py +++ b/validation/multichan_coupledhistosys_histfactory/makedata.py @@ -1,8 +1,8 @@ +import ROOT + import json import sys -import ROOT - with open(sys.argv[1], encoding="utf-8") as source_file: source_data = json.load(source_file) root_file = sys.argv[2] diff --git a/validation/multichan_coupledoverall_histfactory/makedata.py b/validation/multichan_coupledoverall_histfactory/makedata.py index 980b574ddf..0b33ff4f55 100644 --- a/validation/multichan_coupledoverall_histfactory/makedata.py +++ b/validation/multichan_coupledoverall_histfactory/makedata.py @@ -1,8 +1,8 @@ +import ROOT + import json import sys -import ROOT - with open(sys.argv[1], encoding="utf-8") as source_file: source_data = json.load(source_file) root_file = sys.argv[2] diff --git a/validation/multichannel_histfactory/makedata.py b/validation/multichannel_histfactory/makedata.py index b24bfc7228..cce668912d 100644 --- a/validation/multichannel_histfactory/makedata.py +++ b/validation/multichannel_histfactory/makedata.py @@ -1,8 +1,8 @@ +import ROOT + import json import sys -import ROOT - with open(sys.argv[1], encoding="utf-8") as source_file: source_data = json.load(source_file) root_file = sys.argv[2] diff --git a/validation/xmlimport_input2/makedata.py b/validation/xmlimport_input2/makedata.py index fdabc01721..b09298329f 100644 --- a/validation/xmlimport_input2/makedata.py +++ b/validation/xmlimport_input2/makedata.py @@ -1,8 +1,8 @@ +import ROOT + import json import sys -import ROOT - with open(sys.argv[1], encoding="utf-8") as source_file: source_data = json.load(source_file) root_file = sys.argv[2]