Class: AssignTagsToTubesTask
- Inherits:
-
AssignTagsTask
- Object
- ActiveRecord::Base
- ApplicationRecord
- Task
- AssignTagsTask
- AssignTagsToTubesTask
- Defined in:
- app/models/assign_tags_to_tubes_task.rb
Overview
Note:
At time of writing (3/4/2019) this is used in: “PacBio Tagged Library Prep”
A Task used in library creation pipelines Applies the selected tags to the library tubes.
Instance Method Summary collapse
Methods inherited from AssignTagsTask
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, init_class, #partial, #render_task, #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
Methods included from Warren::BroadcastMessages
#broadcast, included, #queue_associated_for_broadcast, #queue_for_broadcast, #warren
Instance Method Details
#do_task(workflow, params) ⇒ Object
9 10 11 |
# File 'app/models/assign_tags_to_tubes_task.rb', line 9 def do_task(workflow, params) workflow.(self, params) end |
#included_for_render_task ⇒ Object
13 14 15 16 |
# File 'app/models/assign_tags_to_tubes_task.rb', line 13 def included_for_render_task [{ requests: [{ asset: [:map, :asset_groups, { primary_aliquot: :sample }] }, :target_asset, :batch_request] }, :pipeline] end |