Skip to content

Commit

Permalink
Updating comment to reflect general usage
Browse files Browse the repository at this point in the history
  • Loading branch information
DiogenesAnalytics committed Nov 25, 2023
1 parent 1bc90fa commit da2671e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/frame_sampling/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ def _dataset_exists(self) -> None:
assert self._data_path.exists()

def _get_filepaths(self) -> Generator[Path, None, None]:
"""Scan file system for video files and grab their file paths."""
# iterate over video file extensions
"""Scan target directory for file extensions and grab their file paths."""
# iterate target file extensions
for ext in self.file_extensions:
# loop through video paths matching ext
yield from self._data_path.glob(f"**/{ext}")
Expand Down

0 comments on commit da2671e

Please sign in to comment.