Commit a908969d authored by HERBERT Ryan's avatar HERBERT Ryan
Browse files

models/run.py fix wrong variable

the get_info_dict method had an incorrect variable name and was breaking
the sample_set/index page for runs
parent 403d9ae5
...@@ -23,7 +23,7 @@ class Run(SampleSet): ...@@ -23,7 +23,7 @@ class Run(SampleSet):
def get_info_dict(self, data): def get_info_dict(self, data):
return dict(name = "run : " + data.name + " (" + str(data.run_date) + ")", return dict(name = "run : " + data.name + " (" + str(data.run_date) + ")",
filename = "run : " + run.name + "_" + str(data.run_date), filename = "run : " + data.name + "_" + str(data.run_date),
label = data.id_label + " (" + str(data.run_date) + ")", label = data.id_label + " (" + str(data.run_date) + ")",
info = data.info info = data.info
) )
......
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