Change plate reader/writer to use columns as wells

This commit is contained in:
2022-02-20 19:08:04 -06:00
parent 2023bb9d7e
commit 9adb7dffb8

View File

@@ -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<String> tmp = new ArrayList<>();
for(int i = 0; i < wellsAsStrings.size(); i++){//List<Integer[]> w: wells){
@@ -99,7 +99,7 @@ public class PlateFileWriter {
else {
printer.printComment("Std. dev.: " + stdDev);
}
printer.printRecords(rows);
printer.printRecords(wellsAsStrings);
} catch(IOException ex){
System.out.println("Could not make new file named "+filename);
System.err.println(ex);