Class: Limber::Helper::LibraryOnlyTemplateConstructor
Overview
Class LibraryOnlyTemplateConstructor provides a template constructor which JUST build the library portion of the submission template. No multiplexing or sequencing requests are added.
Instance Attribute Summary
#catalogue, #cherrypicked, #name, #pipeline, #prefix, #product_line, #role, #sequencing_keys, #type
Instance Method Summary
collapse
#build!, find_for
Instance Method Details
#name_for(cherrypick, _sequencing_request_type) ⇒ Object
201
202
203
|
# File 'lib/limber/helper.rb', line 201
def name_for(cherrypick, _sequencing_request_type)
"#{pipeline} - #{cherrypick ? 'Cherrypicked - ' : ''}#{name}"
end
|
#request_type_ids(cherrypick, _sequencing) ⇒ Object
209
210
211
212
213
|
# File 'lib/limber/helper.rb', line 209
def request_type_ids(cherrypick, _sequencing)
ids = []
ids << [cherrypick_request_type.id] if cherrypick
ids << [library_request_type.id]
end
|
#sequencing_request_types ⇒ Object
205
206
207
|
# File 'lib/limber/helper.rb', line 205
def sequencing_request_types
[nil]
end
|