Commit ff9e083e authored by Ryan Herbert's avatar Ryan Herbert
Browse files

sample_set.py, sample_set/custom.html decorate tags in compare view

parent 2dbcc849
......@@ -419,12 +419,14 @@ def custom():
if config :
query = query.find(lambda row : ( row.results_file.config_id==config_id or (str(row.results_file.id) in request.vars["custom_list"])) )
tag_decorator = TagDecorator(get_tag_prefix())
log.debug("sample_set/custom (%.3fs) %s" % (time.time()-start, request.vars["filter"]))
return dict(query=query,
config_id=config_id,
config=config,
helper=helper)
helper=helper,
tag_decorator=tag_decorator)
def confirm():
if auth.can_modify_sample_set(request.vars["id"]):
......
......@@ -74,7 +74,7 @@
{{=row.sequence_file.filename}}
</td>
<td> {{=row.sequence_file.sampling_date}} </td>
<td> {{=row.sequence_file.info}} </td>
<td> {{=tag_decorator.sanitize(tag_decorator.decorate(row.sequence_file.info, 'tag', 'sequence_file', '/sample_set/custom'))}} </td>
<td> {{=row.sequence_file.pcr}} </td>
<td {{if row.sequence_file.data_file == None :}} {{=XML("class='inactive' title='file is missing' ")}} {{pass}} >
{{=vidjil_utils.format_size(row.sequence_file.size_file)}} </td>
......
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