Skip to content

Commit

Permalink
chore: Remove processed data dir
Browse files Browse the repository at this point in the history
  • Loading branch information
saattrupdan committed Apr 19, 2024
1 parent ac13342 commit 6191930
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion config/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ defaults:
dirs:
data: data
raw: raw
processed: processed
final: final

seed: 4242
Expand Down
Empty file removed data/processed/.gitkeep
Empty file.
2 changes: 1 addition & 1 deletion src/foqa/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def build_dataset(config: DictConfig) -> None:
dataset = Dataset.from_pandas(df, preserve_index=False)

logger.info("Saving the dataset to disk...")
dataset_path = Path(config.dirs.data) / config.dirs.processed / "foqa"
dataset_path = Path(config.dirs.data) / config.dirs.final / "foqa"
dataset.save_to_disk(dataset_path)
logger.info(f"Dataset saved to {dataset_path}.")

Expand Down

0 comments on commit 6191930

Please sign in to comment.