Commit 3b01185e authored by Ryan Herbert's avatar Ryan Herbert
Browse files

models/SampleSet.py fix sample set name in index

The name in get_info_dict was set to the sample type instead of the
sample name.
parent 207ef8f8
......@@ -78,7 +78,7 @@ class SampleSet(object):
return 'sample_set/add'
def get_info_dict(self, data):
return dict(name = "sample_set : %s" % db.sample_set[data.sample_set_id].sample_type,
return dict(name = "sample_set : %s" % self.get_name(data),
filename = "sample_set_%d" % data.id,
label = "",
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