diff --git a/script/EnergyScan.py b/script/EnergyScan.py index 7ab6ef3..1eea4bc 100644 --- a/script/EnergyScan.py +++ b/script/EnergyScan.py @@ -68,7 +68,7 @@ def _startPlot(type): output_file_MCP1 = output_path+"MCP1"+file_prefix+"_" + suffix + ".dat" output_file_MCP2 = output_path+"MCP2"+file_prefix+"_" + suffix + ".dat" MCP1out.open(output_file_MCP1, "w+") - open(output_file_MCP2, "w+") as MCP2out + MCP2out.open(output_file_MCP2, "w+") MCP1out.write("rbkenergy" + sep + "Sum1" + sep + "Sum2" + sep + "Cam1" + sep + "Cam2" + sep + "Array" + line_sep) MCP2out.write("rbkenergy" + sep + "Sum1" + sep + "Sum2" + sep + "Cam1" + sep + "Cam2" + sep + "Array" + line_sep) while running: