Commit 4f08a273 authored by Feliks Kuba Kiszkurno's avatar Feliks Kuba Kiszkurno
Browse files

Changed naming convention of the output files

Now the output files names start with the name of the parameter they show.
parent ae5ca485
......@@ -141,7 +141,7 @@ class OGSDataCompare:
else:
fig.suptitle(self.config.parameter)
output_file_name = "compare_{}_{}".format(self.config.parameter, str(sub_param))
output_file_name = "{}_compare_{}".format(self.config.parameter, str(sub_param))
self.__save_figure(fig, output_file_name)
def ogs_compare_separate(self):
......@@ -189,7 +189,7 @@ class OGSDataCompare:
fig_sep.set_size_inches(8, 8)
fig_sep.set_dpi(200)
output_file_name = "compare_separate_{}_{}_{}".format(self.config.parameter,
output_file_name = "{}_compare_separate_{}_{}".format(self.config.parameter,
str(sub_param),
point_name)
self.__save_figure(fig_sep, output_file_name)
......@@ -245,7 +245,7 @@ class OGSDataCompare:
ax.set_ylabel(self.config.parameter)
ax.set_xlabel('Experiment name')
output_file_name = "compare_time_point_{}_{}_t_{:.2f}_{}".format(self.config.parameter,
output_file_name = "{}_compare_time_point_{}_t_{:.2f}_{}".format(self.config.parameter,
str(sub_param),
self.data.time_steps[time_step_id],
point_name)
......@@ -298,7 +298,7 @@ class OGSDataCompare:
ax.view_init(azim=20, elev=45)
output_file_name = "3D_values_{}_{}_t_{:.2f}_{}".format(self.config.parameter,
output_file_name = "{}_3D_values_{}_t_{:.2f}_{}".format(self.config.parameter,
str(sub_param),
self.data.time_steps[time_step_id],
point_name)
......
Supports Markdown
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