diff --git a/Tests/Data/Parabolic/T/3D_3BHEs_array/bcs_tespy.py b/Tests/Data/Parabolic/T/3D_3BHEs_array/bcs_tespy.py index dbfe97a73edc42f395ed337f19d2951ea2362b38..428922328818eeb77e92a16922506f21e80d4715 100644 --- a/Tests/Data/Parabolic/T/3D_3BHEs_array/bcs_tespy.py +++ b/Tests/Data/Parabolic/T/3D_3BHEs_array/bcs_tespy.py @@ -166,7 +166,8 @@ class BC(OpenGeoSys.BHENetwork): # initialize the tespy model of the bhe network # load path of network model: # loading the TESPy model -project_dir = os.chdir(ogs_prj_directory) +if ogs_prj_directory != "": + os.chdir(ogs_prj_directory) nw = load_network("./pre/tespy_nw") # set if print the network iteration info nw.set_attr(iterinfo=False)