From b76fbf0ed0198ed9aee5b80264fcc1ba65edc062 Mon Sep 17 00:00:00 2001 From: X11MA Date: Thu, 4 Feb 2016 16:16:14 +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 0a36f34..7ab6ef3 100644 --- a/script/EnergyScan.py +++ b/script/EnergyScan.py @@ -67,7 +67,7 @@ def _startPlot(type): MCP2 = [[0 for x in range(1)] for x in range(NrCounters)] output_file_MCP1 = output_path+"MCP1"+file_prefix+"_" + suffix + ".dat" output_file_MCP2 = output_path+"MCP2"+file_prefix+"_" + suffix + ".dat" - open(output_file_MCP1, "w+") as MCP1out + MCP1out.open(output_file_MCP1, "w+") open(output_file_MCP2, "w+") as MCP2out 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)