Skip to content

Commit

Permalink
Fixed txt output file deletion. See issue #78.
Browse files Browse the repository at this point in the history
  • Loading branch information
kvb2univpitt committed Dec 11, 2022
1 parent f2e9e15 commit 631961b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ private static void runTetrad(CmdArgs cmdArgs) throws AlgorithmRunException, Val

Path outGraphFile = Paths.get(outDir, fileName);
if (Files.exists(outGraphFile)) {
Files.deleteIfExists(outTxtFile);
Files.deleteIfExists(outGraphFile);
}

GraphIO.writeAsJSON(graphs[i], outGraphFile);
Expand Down

0 comments on commit 631961b

Please sign in to comment.