Skip to content

Commit

Permalink
removed pcr_cycles column from customer file download after uat feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewsparkes committed Feb 16, 2024
1 parent a50587b commit f0d1119
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<%= CSV.generate_line ['Plate Barcode', @plate.labware_barcode.human], row_sep: "" %>

<%= CSV.generate_line ['Well', 'Concentration (nM)', 'Sanger Sample Id', 'Supplier Sample Name', 'Input amount available (fmol)', 'Input amount desired', 'Sample volume', 'Diluent volume', 'PCR cycles', 'Hyb Panel'], row_sep: "" %>
<%= CSV.generate_line ['Well', 'Concentration (nM)', 'Sanger Sample Id', 'Supplier Sample Name', 'Input amount available (fmol)', 'Input amount desired', 'Sample volume', 'Diluent volume', 'Hyb Panel'], row_sep: "" %>
<% @plate.wells_in_columns.each do |well| %>
<% unless well.empty? %>
<%= CSV.generate_line [well.location, well.latest_molarity&.value, well.sanger_sample_id, well.supplier_name, well.input_amount_available, nil, nil, nil, nil, nil], row_sep: "" %>
<%= CSV.generate_line [well.location, well.latest_molarity&.value, well.sanger_sample_id, well.supplier_name, well.input_amount_available, nil, nil, nil, nil], row_sep: "" %>
<% end %>
<% end %>
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,10 @@
'Input amount desired',
'Sample volume',
'Diluent volume',
'PCR cycles',
'Hyb Panel'
],
['A1', '1.5', well_a1_sanger_sample_id, well_a1_supplier_name, (1.5 * 25).to_s, nil, nil, nil, nil, nil],
['B1', '1.5', well_b1_sanger_sample_id, well_b1_supplier_name, (1.5 * 25).to_s, nil, nil, nil, nil, nil]
['A1', '1.5', well_a1_sanger_sample_id, well_a1_supplier_name, (1.5 * 25).to_s, nil, nil, nil, nil],
['B1', '1.5', well_b1_sanger_sample_id, well_b1_supplier_name, (1.5 * 25).to_s, nil, nil, nil, nil]
]
end

Expand Down

0 comments on commit f0d1119

Please sign in to comment.