Module: Limber::TagLayoutTemplate::WalkWellsInPools

Defined in:
app/models/limber/tag_layout_template/walk_wells_in_pools.rb

Overview

rubocop:todo Style/Documentation

Instance Method Summary collapse

Instance Method Details

#generate_tag_layout(_plate) ⇒ Object



4
5
6
7
8
9
10
11
12
13
# File 'app/models/limber/tag_layout_template/walk_wells_in_pools.rb', line 4

def generate_tag_layout(_plate)
  # This code was complicated, and its behaviour isn't
  # entirely apparent. (Something to do with optimising robots)
  # It doesn't particularly make sense in the context of
  # tag plates either. So we'll just remove it, throw unacceptable_tag_layout
  # instead. Not a fan of throws either, but at least that is handled.
  # Essentially this ensures that any templates that are 'by pool'
  # will not get accepted.
  throw :unacceptable_tag_layout
end