[run_selector] some fixes

This commit is contained in:
Noe Brucy
2021-06-24 11:39:58 +02:00
parent 0dc9e8fc7b
commit 0b5cbd3a95
4 changed files with 8 additions and 5 deletions
+1 -1
View File
@@ -456,7 +456,7 @@ class Plotter(Aggregator, BaseProcessor):
return r"{} = {}".format(prop_label, prop_value_str)
def get_label_file(run):
label_filename = f"{self.path}/{run}/{self.pp_params.input.label_filename}"
label_filename = f"{self.path}/{run}/{self.params.input.label_filename}"
if os.path.exists(label_filename):
with open(label_filename, "r") as label_file:
label = label_file.readline()[:-1]