Class: NpgActions::AssetsController

Inherits:
ApplicationController
  • Object
show all
Defined in:
app/controllers/npg_actions/assets_controller.rb

Overview

Takes QC decisions on lanes from NPG and records the information in Sequencescape, passing the requests and creating events as required.

Constant Summary collapse

NPGActionInvalid =

Raised if an action is performed which contradicts a previous one

Class.new(StandardError)

Instance Method Summary collapse

Instance Method Details

#failObject


19
20
21
# File 'app/controllers/npg_actions/assets_controller.rb', line 19

def fail
  action_for_qc_state('fail')
end

#passObject


23
24
25
# File 'app/controllers/npg_actions/assets_controller.rb', line 23

def pass
  action_for_qc_state('pass')
end