{{extend 'db_layout.html'}} {{import vidjil_utils}}
file name | sampling date | info | size | pre-process | {{if auth.is_admin():}}uploader | {{pass}}last processing | status | ||||||||||||||
{{if auth.is_admin():}}({{=row.sequence_file.id}}){{pass}} {{=row.sequence_file.filename}} | {{if row.sequence_file.sampling_date <> None:}} {{=row.sequence_file.sampling_date}} {{pass}} | {{=row.sequence_file.info}} | {{=vidjil_utils.format_size(row.sequence_file.size_file)}} | {{ has_pre_process = row.sequence_file.pre_process_id != None}}{{if row.sequence_file.pre_process_flag == "RUN" :}}{{pass}} {{if row.sequence_file.pre_process_flag == "WAIT" :}}[queued]{{pass}} {{if row.sequence_file.pre_process_flag == "FAILED" :}}[failed] | {{if auth.is_admin():}} {{pass}} {{if row.sequence_file.pre_process_id != None :}} {{=pre_process_list[row.sequence_file.pre_process_id]}} {{pass}}{{=row.sequence_file.provider}} {{if row.sequence_file.provider:}}{{=row.sequence_file.provider.last_name}}{{pass}} | {{pass}} {{if can_modify:}}{{else:}} | {{pass}} | dl | {{if can_modify:}}{{else:}} | {{pass}} | {{if row.results_file.run_date :}} | {{=row.results_file.run_date }} | {{else:}}{{pass}} {{if row.results_file.id:}} | {{=status}} | {{if row.results_file.data_file:}} dl {{pass}} | {{if can_modify and auth.can_process_sample_set(request.vars['id']):}}{{else:}} | {{pass}} {{else:}} | {{pass}} | {{if row.sequence_file.data_file != None and ( row.results_file.id == None or ( status != "RUNNING" and status != "QUEUED" and status != "ASSIGNED") ):}} {{if auth.can_process_sample_set(request.vars['id']) and (config_id > 0 and auth.can_use_config(config_id)) :}} | sample_set_id = fake_sample_set_id {{pass}} {{pass}}