Skip to content

Commit

Permalink
add script params
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobasco99 committed Aug 7, 2024
1 parent 266502f commit fbd8e6e
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -486,11 +486,13 @@ private void generateFeedback(String label1, String label2, String template, Str
throws InterruptedException, IOException {
ProcessBuilder pb = new ProcessBuilder("bash", scriptFile, "-s", "-o", "pdf", "-i",
"comparison_" + label1 + "_vs_" + label2 + ".json", "-t",
"templates/" + template, "-S", topic);
"templates/" + template, "-S", topic, "-l", label1, "-c", label2);
pb.inheritIO();
pb.directory(new File("tmitocar"));
Process p = pb.start();
p.waitFor();
System.out.println(label2);
System.out.println("Lookup path:"+"tmitocar/comparison_" + label1 + "_vs_" + label2 + ".json");
cleanJSONFile("tmitocar/comparison_" + label1 + "_vs_" + label2 + ".json");
}

Expand Down

0 comments on commit fbd8e6e

Please sign in to comment.