[% META title="FluidX XTR-96 Plate Reader Import" %] [% # INCLUDE dumper.tt dump = data.storage %]

FluidX XTR-96 plate reader data import

[% BLOCK form_header %]action="[% app_url %]/storage/read_xtr_96" name="scan" id="scan" onsubmit="return submitForm(this.scan);" method="post"[% END %] [% IF data.size; # INCLUDE dumper.tt dump = xtr_96; import(data); # provides 'plate_data', 'storage' & 'plateId' keys missing_id = 'RACK ID MISSING'; USE format; concat = format('%s%02d'); %] [% IF storage.have_missing %]

Warning: unknown vial(s) present - either uncatalogued or already removed. Requires resolution before import/export.

[% END %] [% FOREACH row IN ['A' .. 'H'] %] [% FOREACH col IN [1 .. 12]; # INCLUDE dumper.tt dump = [row, col]; cell = concat(row,col); # ie format('%s%02d') # highlight if vialId NOT already in catalog: class = storage.rack_data.item(plate_data.${cell}) ? 'xtr-96-vial' : 'red'; %] [% END %] [% END %]
Plate ID :: [% plateId || missing_id %]
[% cell %]
[% plate_data.${cell} %]
[% IF plateId AND NOT storage.have_missing; # will need to fix & re-scan %]
[% rack_in_use = storage.storage_rack.is_active %] Rack [% rack_in_use ? 'exists' : 'does not exist' %] in storage:
[% END %] [% ELSIF can_scan %]

Ensure rack is mounted on plate reader .....

[% ELSE %]

Cannot activate plate reader at [% xtr_96_addr %] from remote location [% remote_addr %]

[% END %]