Class: Presenters::RviCdnaXpPresenter

Inherits:
PlatePresenter show all
Includes:
Statemachine::Shared
Defined in:
app/models/presenters/rvi_cdna_xp_presenter.rb

Overview

Used for RVI cDNA XP plates. Used for a custom ‘Manual Transfer’ state transition. N.B. ‘Manual Transfer’ is used for the RVI BCL pipeline for the cDNA XP Plate because the plates are inaccessible in the bed at the time of transfer so cannot be transferred via bed verifications. Also we cannot set its state to ‘Passed’ on initial bed verification because there are steps on other plates that need to be completed before the cDNA XP Plate can be transferred. and we do not want to misreport the plate being passed if an issue arises with the steps before hand.

Instance Method Summary collapse

Instance Method Details

#all_plate_statesObject Originally defined in module Statemachine::Shared

#control_state_changeObject Originally defined in module Statemachine::Shared

Yields to the block if there is the possibility of controlling the state change, passing the valid next states, along with the current one too.

#default_state_change {|default_transition| ... } ⇒ Object Originally defined in module Statemachine::Shared

Yields:

#default_transitionObject Originally defined in module Statemachine::Shared

#stateObject Originally defined in module Statemachine::Shared

#state=(value) ⇒ Object Originally defined in module Statemachine::Shared

– We ignore the assignment of the state because that is the statemachine getting in before the plate has been loaded. ++