Skip to content

Commit

Permalink
Update app/models/box_form.rb
Browse files Browse the repository at this point in the history
Co-authored-by: Julien Portalier <[email protected]>
  • Loading branch information
leandroradusky and ysbaddaden authored Aug 4, 2023
1 parent d9e7602 commit d37cb55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/box_form.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)),
},
},
Expand Down

0 comments on commit d37cb55

Please sign in to comment.