Module: PlatesHelper

Defined in:
app/helpers/plates_helper.rb

Defined Under Namespace

Classes: AliquotError

Instance Method Summary collapse

Instance Method Details

#padded_wells_by_row(plate, overide = nil) ⇒ Object


4
5
6
7
8
9
10
# File 'app/helpers/plates_helper.rb', line 4

def padded_wells_by_row(plate, overide = nil)
  wells = wells_hash(plate)
  padded_well_name_with_index(plate) do |padded_name, index|
    index = padded_name == overide ? :overide : index
    yield(padded_name, *wells[index])
  end
end