Skip to content

Commit

Permalink
Fix generate diff tool
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Bui-Quang <[email protected]>
  • Loading branch information
pl-buiquang committed Nov 8, 2021
1 parent fa324cc commit 9b6b282
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion antarest/tools/lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ def generate_diff(base: Path, variant: Path, output_dir: Path) -> None:
needed_matrices: Set[str] = set()
for command in diff_commands:
for matrix in command.get_inner_matrices():
needed_matrices.add(matrix)
needed_matrices.add(f"{matrix}.tsv")
for matrix_file in os.listdir(matrices_dir):
if matrix_file not in needed_matrices:
os.unlink(matrices_dir / matrix_file)
Expand Down

0 comments on commit 9b6b282

Please sign in to comment.