From 8d30d078c7c8af6494bff95822e7dce185059fff Mon Sep 17 00:00:00 2001 From: X11MA Date: Thu, 4 Feb 2016 16:16:37 +0100 Subject: [PATCH] Script execution --- script/EnergyScan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: