UNPKG

liquid-data-handler

Version:

Transform plate layouts according to liquid handling instructions

32 lines 1.01 kB
"use strict"; // 4 96 well plates with sample_id // layout1, layout2, layout3, layout4 plate names // padded well formats // tests a true clash between layout_media and layout1 in destination 12-well-plate Object.defineProperty(exports, "__esModule", { value: true }); exports.layout_media = exports.layout2 = exports.layout1 = void 0; const well_id_formatter_1 = require("well-id-formatter"); exports.layout1 = (0, well_id_formatter_1.getPlate)(6).map((row) => { return { Plate: "layout1", Well: row["padded"], sample_id: `lay1${row["number"]}`, cell_type: "thyroid", }; }); exports.layout2 = (0, well_id_formatter_1.getPlate)(12).map((row) => { return { Plate: "layout2", Well: row["padded"], sample_id: null, cell_type: +row["number"] % 2 === 0 ? null : "bone", }; }); exports.layout_media = [ { Plate: "layout_media", Well: "A01", meida: `acid_buffer`, }, ]; //# sourceMappingURL=layouts.js.map