Class: Tubes::WorkCompletionsController

Inherits:
ApplicationController
  • Object
show all
Includes:
WorkCompletionBehaviour
Defined in:
app/controllers/tubes/work_completions_controller.rb

Overview

Handles the clicking of the ‘Charge and Pass Libraries’ button for tubes

See Also:

  • WorkCompletionBehaviour::create

Instance Method Summary collapse

Instance Method Details

#createObject Originally defined in module WorkCompletionBehaviour

Create a work completion for the given limber_plate_id and redirect to the plate page. Work completions mark library creation requests as completed and hook them up to the correct wells.

#labwareObject



10
11
12
# File 'app/controllers/tubes/work_completions_controller.rb', line 10

def labware
  @labware ||= api.tube.find(params[:limber_tube_id])
end

#sequencescape_submission_parametersObject Originally defined in module WorkCompletionBehaviour