Class: AssignTubesToMultiplexedWellsTask

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

Overview

Note:

At time of writing (3/4/2019) this is used in: “PacBio Sequencing”

A Task used in PacBioSequencingPipeline Assigns tagged tube into multiplexed wells on the target plate for pooling.

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, 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 Squishify

extended

Methods included from Warren::BroadcastMessages

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

Instance Method Details

#do_task(workflow, params) ⇒ Object


27
28
29
# File 'app/models/assign_tubes_to_multiplexed_wells_task.rb', line 27

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

#included_for_do_taskObject


15
16
17
# File 'app/models/assign_tubes_to_multiplexed_wells_task.rb', line 15

def included_for_do_task
  [{ requests: :asset }, :pipeline]
end

#included_for_render_taskObject


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

def included_for_render_task
  [{ requests: :asset }, :pipeline]
end

#partialObject


11
12
13
# File 'app/models/assign_tubes_to_multiplexed_wells_task.rb', line 11

def partial
  'assign_tubes_to_wells'
end

#render_task(workflow, params) ⇒ Object


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

def render_task(workflow, params)
  super
end