Skip to content

Commit

Permalink
added output folder creation
Browse files Browse the repository at this point in the history
  • Loading branch information
Gramet committed Apr 23, 2024
1 parent f74825f commit 85cc83a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/pipeline/preprocess/preprocessing.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

def main(input_folder: Path = typer.Option(...), output_folder: Path = typer.Option(...)) -> None:
"""Main function."""
output_folder.mkdir(exist_ok=True, parents=True)


if __name__ == "__main__":
Expand Down
1 change: 1 addition & 0 deletions src/pipeline/train/training.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

def main(preprocess_folder: Path = typer.Option(...), output_folder: Path = typer.Option(...)) -> None:
"""Main function."""
output_folder.mkdir(exist_ok=True, parents=True)


if __name__ == "__main__":
Expand Down

0 comments on commit 85cc83a

Please sign in to comment.