Added File Format Functionality#38
Conversation
|
Hi @jfilter, Just wanted to bring this PR to your attention again. I believe the ability to split folders based on file extensions (as implemented here) would be a valuable addition to the The code includes the implementation and also updates the Whenever you have a chance, I'd greatly appreciate it if you could review the changes and let me know if you have any feedback. Happy to address any concerns or make adjustments as needed. Thanks again for your time! |
- Extract _get_copy_fn() helper to eliminate duplicated copy/move/symlink selection in copy_files() and fixed() oversampling - Fix valid_extensions() crash when formats=None (PR #38 bug) - Fix isinstance check for tuple in oversampling path - Replace os.path usage with pathlib in refactored sections - Run ruff format on all files
|
Merged into |
Files can be split based on the file extension specified. It is an optional argument and by default, it is set to None. For more details please read the updated readme.md #37