Skip to content

Commit

Permalink
added center y position of LRPs for analysis outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
wilkb777 committed Sep 26, 2017
1 parent 3cbe338 commit 3e74fb6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/java/com/bwc/ora/io/ExportWriter.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ private static void writeSettingsCsv(File outdir) throws FileNotFoundException {
pw.println(LrpSettings.PROP_NUMBER_OF_LRP + "," + String.valueOf(lrpSettings.getNumberOfLrp()));
pw.println("LRP center X positions,"
+ lrps.stream().map(Lrp::getLrpCenterXPosition).map(String::valueOf).collect(Collectors.joining(",")));
pw.println("LRP center Y positions,"
+ lrps.stream().map(Lrp::getLrpCenterYPosition).map(String::valueOf).collect(Collectors.joining(",")));

//add oct properties
pw.println(OctSettings.PROP_X_SCALE + "," + df.format(octSettings.getxScale()));
Expand Down Expand Up @@ -150,4 +152,4 @@ public static void exportAnalysis(File outputLocation) throws FileNotFoundExcept
writeSettingsCsv(analysisOutdir);
writeOct(analysisOutdir);
}
}
}

0 comments on commit 3e74fb6

Please sign in to comment.