Class: ValidateSampleSheetTask

Inherits:
Task show all
Defined in:
app/models/validate_sample_sheet_task.rb

Overview

Used in PacBioSequencingPipeline, used to validate the CSVs that get generated to drive the machine. These files aren't compatible with the newer PacBIo machines though.

Defined Under Namespace

Classes: ValidateSampleSheetData

Instance Method Summary collapse

Methods inherited from Task

#find_batch, #find_batch_requests, #get_descriptor_value, get_subclass_attribute_options, #get_subclass_attribute_options, #get_subclass_attribute_value, get_subclass_attributes, #get_subclass_attributes, #included_for_do_task, #included_for_render_task, init_class, #set_descriptor_value, set_subclass_attribute, #set_subclass_attribute_value, #sub_events_for

Methods inherited from ApplicationRecord

convert_labware_to_receptacle_for, find_by_id_or_name, find_by_id_or_name!

Methods included from Warren::BroadcastMessages

#broadcast, included, #queue_associated_for_broadcast, #queue_for_broadcast, #warren

Instance Method Details

#create_render_element(request) ⇒ Object


10
11
12
# File 'app/models/validate_sample_sheet_task.rb', line 10

def create_render_element(request)
  request.asset && ValidateSampleSheetData.new(request)
end

#do_task(workflow, params) ⇒ Object


23
24
25
# File 'app/models/validate_sample_sheet_task.rb', line 23

def do_task(workflow, params)
  workflow.do_validate_sample_sheet_task(self, params)
end

#partialObject


14
15
16
# File 'app/models/validate_sample_sheet_task.rb', line 14

def partial
  'validate_sample_sheet_batches'
end

#render_task(workflow, params) ⇒ Object


18
19
20
21
# File 'app/models/validate_sample_sheet_task.rb', line 18

def render_task(workflow, params)
  super
  workflow.render_validate_sample_sheet_task(self, params)
end