move_split_files
Logic for moving split validation files to separate directories.
kelp.data_prep.move_split_files.MoveSplitFilesConfig
Bases: ConfigBase
A config for moving split files to a new directory.
Source code in kelp/data_prep/move_split_files.py
12 13 14 15 16 17 |
|
kelp.data_prep.move_split_files.main
Main entry point for moving split files.
Source code in kelp/data_prep/move_split_files.py
63 64 65 66 |
|
kelp.data_prep.move_split_files.move_split_files
Move split files to a new directory.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
data_dir |
Path
|
Path to the data directory. |
required |
output_dir |
Path
|
Path to the output directory. |
required |
metadata_fp |
Path
|
Path to the metadata parquet file. |
required |
Source code in kelp/data_prep/move_split_files.py
38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 |
|
kelp.data_prep.move_split_files.parse_args
Parse command line arguments.
Returns: An instance of MoveSplitFilesConfig.
Source code in kelp/data_prep/move_split_files.py
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 |
|