-
Notifications
You must be signed in to change notification settings - Fork 1
Feat: Pre-check for existing images using in_img_dir column (Closes #34) #43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 35 commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
d35e2b2
Add check_existing_images() to compare existing image files with CSV …
EmersonFras 32ae64d
Integrate existing image check into main download flow
EmersonFras 489a896
Only print pre-download directory status if missing images
EmersonFras aa434ef
Add tests for check_existing_images() including partial and complete …
EmersonFras 37f4099
Update CLI Examples in README for new check existing image examples
EmersonFras bf39663
Fix CLI Examples wrong output dir
EmersonFras f73f16e
Remove validate_output_directory call
EmersonFras a0f839c
Combine imports in main
EmersonFras 1997b6d
Complete docstring for check_existing_images
EmersonFras 2cc1c16
Remove useless test assert
EmersonFras 6ffa15a
Remove unused variable
EmersonFras 90653cf
Use `.code` over `str()` for consistency
EmersonFras 17f49a2
Use fullpath when checking existing files
EmersonFras c9a8d39
Merge branch 'feature/issue-34/check-existing-images' of github.com:I…
EmersonFras 6fdcc47
Handle directory existing but empty case
EmersonFras 8d19c70
Update description to match enhanced functionality
egrace479 3810adb
Use bash section in MD for proper rendering
EmersonFras fa8e01b
Move comments in README code section to new lines
EmersonFras 1c46e94
Move comments to new lines
EmersonFras 2001973
Renamed 'subfolders_col' -> 'subfolders' for consistency
EmersonFras ae5c211
Spacing after imports in main
EmersonFras 29dffc4
Use os.path.normpath to normalize pathing for comparison
EmersonFras a2ad790
Use copy of source_df to avoid future side-effects
EmersonFras 641e4f4
Update docstring for test_directory_does_note_exist
EmersonFras 0612a26
Implement check_existing_images with starting_idx
EmersonFras 78fbfde
Add subfolders handling check for existing images
EmersonFras 212011f
Remove test_main_directory_exists
EmersonFras ced40e9
Rename missing_df to filtered_df
EmersonFras ce1aab2
Pass actual DF in tests
EmersonFras b8e6da0
Update docstring wording in tests/test_existing_images.py
EmersonFras 923e243
Update docstring wording in src/cautiousrobot/utils.py
EmersonFras 385b12f
Return filtered_df when directory does not exist
EmersonFras 1092d74
Update print message in check_existing_images
EmersonFras b9fcf09
Update test assert messages
EmersonFras b62a09f
Update phrasing for how many desired images downloaded
EmersonFras ab3f398
Update README for extra column
EmersonFras File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.