Verified Commit e7019326 authored by Amin Bandali's avatar Amin Bandali
Browse files

Remove debugDir and rename resultsDir to outDir

parent eea9cc36
......@@ -35,15 +35,10 @@ public abstract class CatalystCommand {
" models directory to be analyzed")
protected String[] corpora;
@Option(names = "--results-dir",
@Option(names = "--out-dir",
required = true,
description = "Output directory for analysis results")
protected String resultsDir;
@Option(names = "--debug-dir",
required = true,
description = "Output directory for analysis debugging information")
protected String debugDir;
description = "Output directory for analysis results and other Catalyst output")
protected String outDir;
@Option(names = "--separator",
description = "Separator used instead of forward slash in output file" +
......
......@@ -67,8 +67,8 @@ public final class Mut extends CatalystCommand implements Runnable {
public Mut() {}
public void run() {
initialize(Paths.get(resultsDir, OUT_TEXT), Paths.get(resultsDir, OUT_JSON));
gson = new GsonBuilder().setPrettyPrinting().create();
initialize(Paths.get(outDir, OUT_TEXT), Paths.get(outDir, OUT_JSON));
// ugly workaround to load the solvers' native libraries
// right off the bat and get it over with, to avoid polluting
......
......@@ -32,8 +32,8 @@ public final class SSR extends CatalystCommand implements Runnable {
public SSR() {}
public void run() {
initialize(Paths.get(resultsDir, OUT_TEXT), Paths.get(resultsDir, OUT_JSON));
gson = new GsonBuilder().setPrettyPrinting().create();
initialize(Paths.get(outDir, OUT_TEXT), Paths.get(outDir, OUT_JSON));
Instant start = Instant.now();
for (String corpus : corpora)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment