|
10 | 10 | import org.labkey.api.assay.plate.PositionImpl; |
11 | 11 | import org.labkey.api.assay.plate.Well; |
12 | 12 | import org.labkey.api.assay.plate.WellGroup; |
| 13 | +import org.labkey.api.collections.IntHashMap; |
13 | 14 | import org.labkey.api.data.statistics.CurveFit; |
14 | 15 | import org.labkey.api.exp.ExperimentException; |
15 | 16 | import org.labkey.api.exp.api.ExpMaterial; |
@@ -139,7 +140,7 @@ public Set<String> getPlates() |
139 | 140 | @Override |
140 | 141 | public Map<Integer, Plate> getAnalyteToPlate(String plateName) throws ExperimentException |
141 | 142 | { |
142 | | - Map<Integer, Plate> analyteToPlate = new HashMap<>(); |
| 143 | + Map<Integer, Plate> analyteToPlate = new IntHashMap<>(); |
143 | 144 | for (Map.Entry<Integer, double[][]> entry : _plateMap.get(plateName).getDataMap().entrySet()) |
144 | 145 | { |
145 | 146 | Plate plate = PlateService.get().createPlate(_plateTemplate, entry.getValue(), null); |
@@ -171,8 +172,8 @@ public Map<String, Object> getExtraProperties(String plateName, Position positio |
171 | 172 |
|
172 | 173 | private static class AnalytePlate |
173 | 174 | { |
174 | | - private final Map<Integer, Map<String, Double>> _stdConcentrations = new HashMap<>(); |
175 | | - private final Map<Integer, double[][]> _dataMap = new HashMap<>(); |
| 175 | + private final Map<Integer, Map<String, Double>> _stdConcentrations = new IntHashMap<>(); |
| 176 | + private final Map<Integer, double[][]> _dataMap = new IntHashMap<>(); |
176 | 177 | private final String _plateName; |
177 | 178 | private final Plate _plateTemplate; |
178 | 179 | // contains the mapping of (well/analyte) to extra row data to merge during data import |
|
0 commit comments