Skip to content

Commit ce9d5b1

Browse files
Use context managers for validation
1 parent 98d9f95 commit ce9d5b1

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

validation/multichan_coupledhistosys_histfactory/makedata.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import ROOT
2-
31
import json
42
import sys
53

4+
import ROOT
5+
66
with open(sys.argv[1], encoding="utf-8") as source_file:
77
source_data = json.load(source_file)
88
root_file = sys.argv[2]

validation/multichan_coupledoverall_histfactory/makedata.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import ROOT
2-
31
import json
42
import sys
53

4+
import ROOT
5+
66
with open(sys.argv[1], encoding="utf-8") as source_file:
77
source_data = json.load(source_file)
88
root_file = sys.argv[2]

validation/multichannel_histfactory/makedata.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import ROOT
2-
31
import json
42
import sys
53

4+
import ROOT
5+
66
with open(sys.argv[1], encoding="utf-8") as source_file:
77
source_data = json.load(source_file)
88
root_file = sys.argv[2]

validation/xmlimport_input2/makedata.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import ROOT
2-
31
import json
42
import sys
53

4+
import ROOT
5+
66
with open(sys.argv[1], encoding="utf-8") as source_file:
77
source_data = json.load(source_file)
88
root_file = sys.argv[2]

0 commit comments

Comments
 (0)