Class: LabwareCreators::CommonFileHandling::CsvFileForTubeRackWithRackBarcode

Inherits:
CsvFileForTubeRack
  • Object
show all
Defined in:
app/models/labware_creators/common_file_handling/csv_file_for_tube_rack_with_rack_barcode.rb

Overview

This is an abstract class for handling tube rack csv files which contain rack barcodes.

Takes the user uploaded tube rack scan csv file, validates the content and extracts the information.

This version of the rack scan file contains 3 columns, the first is the tube rack barcode, the second it the tube location (coordinate within rack) and the third is the tube barcode.

Example of file content (NB. no header line): TR00012345,A1,FX05653780 TR00012345,A2,NO READ etc.

Constant Summary collapse

RACK_BARCODES_NOT_CONSISTENT_MSG =
'should not contain different rack barcodes (%s)'