Skip to content

Commit

Permalink
Merge branch 'development'
Browse files Browse the repository at this point in the history
Sync up hot fixes.
  • Loading branch information
kvb2univpitt committed Dec 13, 2022
2 parents 5f1fce0 + 66a70ee commit f4105de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public static void main(String[] args) {
private static void runTetrad(CmdArgs cmdArgs) throws AlgorithmRunException, ValidationException, IOException {
String outDir = cmdArgs.getOutDirectory().toString();
String prefix = cmdArgs.getFilePrefix();
Path outTxtFile = Paths.get(outDir, String.format("%s.txt", prefix));
Path outTxtFile = Paths.get(outDir, String.format("%s_out.txt", prefix));

// remove previous files
if (Files.exists(outTxtFile)) {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/edu/pitt/dbmi/causal/cmd/CmdOptions.java
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ private void addOptionalOptions() {
options.put(CmdParams.HELP_SCORE_DESC, new Option(null, CmdParams.HELP_SCORE_DESC, false, "Show all the scores along with their descriptions."));
options.put(CmdParams.HELP_TEST_DESC, new Option(null, CmdParams.HELP_TEST_DESC, false, "Show all the independence tests along with their descriptions."));
options.put(CmdParams.VERSION, new Option(null, CmdParams.VERSION, false, "Show version."));
options.put(CmdParams.FILE_PREFIX, Option.builder().longOpt(CmdParams.FILE_PREFIX).desc("Output file name prefix.").hasArg().argName("string").build());
options.put(CmdParams.FILE_PREFIX, Option.builder().longOpt(CmdParams.FILE_PREFIX).desc("Replace the default output filename prefix in the format of <algorithm>_<numeric timestamp>.").hasArg().argName("string").build());
options.put(CmdParams.JSON_GRAPH, new Option(null, CmdParams.JSON_GRAPH, false, "Write out graph as json."));
options.put(CmdParams.DIR_OUT, Option.builder().longOpt(CmdParams.DIR_OUT).desc("Output directory").hasArg().argName("directory").build());

Expand Down

0 comments on commit f4105de

Please sign in to comment.