diff --git a/app/models/box_form.rb b/app/models/box_form.rb index 43f160502..be295e984 100644 --- a/app/models/box_form.rb +++ b/app/models/box_form.rb @@ -217,7 +217,7 @@ def parse_csv(path) instruction: row["Instructions"], concentrations: { "0" => { - replicate: row["Replicates"], + replicate: row["Replicates"].to_i, concentration: Integer(Float(row["Concentration"]&.strip)), }, },