Module: Limber::Helper
- Defined in:
- lib/limber/helper.rb
Overview
Helper templates and methods used in limber.rake
Defined Under Namespace
Classes: LibraryAndMultiplexingTemplateConstructor, LibraryOnlyTemplateConstructor, TemplateConstructor
Constant Summary collapse
- PIPELINE =
'Limber-Htp'
- PIPELINE_REGEX =
/Illumina-[A-z]+ /
- PRODUCTLINE =
'Illumina-Htp'
Class Method Summary collapse
Class Method Details
.find_project(name) ⇒ Object
238 239 240 241 242 243 244 245 |
# File 'lib/limber/helper.rb', line 238 def self.find_project(name) if Rails.env.production? Project.find_by!(name:) else # In development mode or UAT we don't care so much Project.find_by(name:) || UatActions::StaticRecords.project end end |