From 4cbba0a5f46b628f194c199414b796c8cf34efbd Mon Sep 17 00:00:00 2001 From: Dmitri Naumov Date: Mon, 2 Jan 2023 14:18:19 +0100 Subject: [PATCH] [T/BHE] Formatting --- .../bcs_tespy_and_serverCommunication.py | 8 ++++---- .../3D_Beier_sandbox_python_interface/simulationX_test.py | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Tests/Data/Parabolic/T/3D_3BHEs_array_python_interface/bcs_tespy_and_serverCommunication.py b/Tests/Data/Parabolic/T/3D_3BHEs_array_python_interface/bcs_tespy_and_serverCommunication.py index 58577552f7f..193e4d0e339 100644 --- a/Tests/Data/Parabolic/T/3D_3BHEs_array_python_interface/bcs_tespy_and_serverCommunication.py +++ b/Tests/Data/Parabolic/T/3D_3BHEs_array_python_interface/bcs_tespy_and_serverCommunication.py @@ -179,18 +179,18 @@ def serverCommunicationPreTimestep(self, t, dt, Tin_val, Tout_val, flowrate): flowrate_file.close() return (Tin_val, flowrate) - + def serverCommunicationPostTimestep(self, t, dt, Tin_val, Tout_val, flowrate): - Tin_val = [305,305,305] + Tin_val = [305, 305, 305] tin = open("T_in.txt", "a") tin.write("post: " + str(t) + str(Tin_val) + "\n") tin.close() - + tout = open("T_out.txt", "a") tout.write("post: " + str(t) + str(Tout_val) + "\n") tout.close() - + flowrate_file = open("flowrate.txt", "a") flowrate_file.write("post: " + str(t) + str(flowrate) + "\n") flowrate_file.close() diff --git a/Tests/Data/Parabolic/T/3D_Beier_sandbox_python_interface/simulationX_test.py b/Tests/Data/Parabolic/T/3D_Beier_sandbox_python_interface/simulationX_test.py index 87a8651f92c..01149940c53 100644 --- a/Tests/Data/Parabolic/T/3D_Beier_sandbox_python_interface/simulationX_test.py +++ b/Tests/Data/Parabolic/T/3D_Beier_sandbox_python_interface/simulationX_test.py @@ -59,18 +59,18 @@ def serverCommunicationPreTimestep(self, t, dt, Tin_val, Tout_val, flowrate): flowrate_file.close() return (Tin_val, flowrate) - + def serverCommunicationPostTimestep(self, t, dt, Tin_val, Tout_val, flowrate): Tin_val = [305] tin = open("T_in.txt", "a") tin.write("post: " + str(t) + str(Tin_val) + "\n") tin.close() - + tout = open("T_out.txt", "a") tout.write("post: " + str(t) + str(Tout_val) + "\n") tout.close() - + flowrate_file = open("flowrate.txt", "a") flowrate_file.write("post: " + str(t) + str(flowrate) + "\n") flowrate_file.close()