Commit 21c844b3 authored by Conor Finn's avatar Conor Finn Committed by Conor Finn
Browse files

RE #28360 Improve clarity of logfile variable name


Co-Authored-By: default avatarStephenSmith25 <56431339+StephenSmith25@users.noreply.github.com>
parent bf202bab
......@@ -178,8 +178,8 @@ class FocusModel(object):
@staticmethod
def _output_sample_logs(instrument, run_number, workspace, rb_num):
def write_to_file():
with open(output_path, "w", newline="") as f:
writer = csv.writer(f, ["Sample Log", "Avg Value"])
with open(output_path, "w", newline="") as logfile:
writer = csv.writer(logfile, ["Sample Log", "Avg Value"])
for log in output_dict:
writer.writerow([log, output_dict[log]])
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment