Module: PipelinesHelper
- Included in:
- Presenters::GroupLinePresenter
- Defined in:
- app/helpers/pipelines_helper.rb
Instance Method Summary collapse
Instance Method Details
#fluidigm_target?(batch) ⇒ Boolean
| 10 11 12 | # File 'app/helpers/pipelines_helper.rb', line 10 def fluidigm_target?(batch) batch.requests.where_is_a(CherrypickForFluidigmRequest).present? end | 
#target_purpose_for(request) ⇒ Object
| 3 4 5 6 7 8 | # File 'app/helpers/pipelines_helper.rb', line 3 def target_purpose_for(request) nrs = request.next_requests return nrs.first.request_type.acceptable_purposes.pluck(:name).join('|') unless nrs.empty? request.target_purpose.try(:name) || 'Not specified' end |