Change plate reader/writer to use columns as wells
This commit is contained in:
@@ -59,7 +59,7 @@ public class PlateFileWriter {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//this took forever
|
//this took forever, and I don't use it, because it makes reading data in a huge pain
|
||||||
List<List<String>> rows = new ArrayList<>();
|
List<List<String>> rows = new ArrayList<>();
|
||||||
List<String> tmp = new ArrayList<>();
|
List<String> tmp = new ArrayList<>();
|
||||||
for(int i = 0; i < wellsAsStrings.size(); i++){//List<Integer[]> w: wells){
|
for(int i = 0; i < wellsAsStrings.size(); i++){//List<Integer[]> w: wells){
|
||||||
@@ -99,7 +99,7 @@ public class PlateFileWriter {
|
|||||||
else {
|
else {
|
||||||
printer.printComment("Std. dev.: " + stdDev);
|
printer.printComment("Std. dev.: " + stdDev);
|
||||||
}
|
}
|
||||||
printer.printRecords(rows);
|
printer.printRecords(wellsAsStrings);
|
||||||
} catch(IOException ex){
|
} catch(IOException ex){
|
||||||
System.out.println("Could not make new file named "+filename);
|
System.out.println("Could not make new file named "+filename);
|
||||||
System.err.println(ex);
|
System.err.println(ex);
|
||||||
|
|||||||
Reference in New Issue
Block a user