lib/tasks/limber_dev.rake
Complex method namespace(limber)::namespace(dev)::namespace(setup)::task#gbs_submission (31.8) Open
Open
task gbs_submission: ['limber:dev:setup:gbs'] do
plates = Purpose.find_by(name: 'GBS Stock').plates.order(id: :desc).limit(4)
template = SubmissionTemplate.find_by!(name: 'Limber-Htp - GBS')
plates.each do |plate|
order =
- Read upRead up
- Exclude checks
Flog calculates the ABC score for methods. The ABC score is based on assignments, branches (method calls), and conditions.
You can read more about ABC metrics or the flog tool
Complex method namespace(limber)::namespace(dev)::namespace(setup)::task#wgs_tag_set (26.3) Open
Open
task wgs_tag_set: ['limber:dev:env_check', :environment] do
('A'..'D').each_with_index do |set, index|
["pWGS UDI tag layout v2 #{set}", "TS_pWGS#{set}_UDI96"].each_with_index do |template_name, idx|
next if TagLayoutTemplate.find_by(name: template_name)
- Read upRead up
- Exclude checks
Flog calculates the ABC score for methods. The ABC score is based on assignments, branches (method calls), and conditions.
You can read more about ABC metrics or the flog tool
Complex method namespace(limber)::namespace(dev)::namespace(setup)::task#gbs_tag_set (24.4) Open
Open
task gbs_tag_set: ['limber:dev:env_check', :environment] do
next if TagLayoutTemplate.find_by(name: 'GbS Tag Set A')
('A'..'D').each_with_index do |set, index|
tg =
- Read upRead up
- Exclude checks
Flog calculates the ABC score for methods. The ABC score is based on assignments, branches (method calls), and conditions.
You can read more about ABC metrics or the flog tool