Add plate well concentrations to output data
This commit is contained in:
Binary file not shown.
@@ -28,11 +28,15 @@ public class Plate {
|
|||||||
this.sourceFile = sourceFileName;
|
this.sourceFile = sourceFileName;
|
||||||
this.wells = wells;
|
this.wells = wells;
|
||||||
this.size = wells.size();
|
this.size = wells.size();
|
||||||
|
|
||||||
List<Integer> concentrations = new ArrayList<>();
|
List<Integer> concentrations = new ArrayList<>();
|
||||||
for (List<Integer[]> w: wells) {
|
for (List<Integer[]> w: wells) {
|
||||||
concentrations.add(w.size());
|
concentrations.add(w.size());
|
||||||
}
|
}
|
||||||
this.concentrations = concentrations.toArray(new Integer[concentrations.size()]);
|
this.concentrations = new Integer[concentrations.size()];
|
||||||
|
for (int i = 0; i < this.concentrations.length; i++) {
|
||||||
|
this.concentrations[i] = concentrations.get(i);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void fillWellsExponential(String sourceFileName, List<Integer[]> cells, double lambda){
|
public void fillWellsExponential(String sourceFileName, List<Integer[]> cells, double lambda){
|
||||||
|
|||||||
Reference in New Issue
Block a user