{{if row.sequence_file.data_file != None and ( row.results_file.id == None and ( status not in ["RUNNING", "QUEUED", "ASSIGNED"]) ) and (not has_pre_process or row.sequence_file.pre_process_flag != None) :}}
{{if row.sequence_file.data_file != None and ( row.results_file.id != None or ( status not in ["RUNNING", "QUEUED", "ASSIGNED"]) ) and (not has_pre_process or row.sequence_file.pre_process_flag != None) :}}
{{if auth.can_process_sample_set(request.vars['id']) and (config_id > 0 and auth.can_use_config(config_id)) :}}
<spanclass="pointer"onclick="db.call('default/run_request', { 'sequence_file_id' : '{{=row.sequence_file.id}}', 'sample_set_id' : {{=request.vars["id"]}},'config_id':{{=config_id}}})"><iclass="icon-cog-2"title="Run the selected configuration for this file"></i></span>