md_creator¶
Module: run.scripts.md_creator
¶
Create meta data file ‘metadata.yaml’ for FeatureVectorCollection
Used for external files, which can not be read directly in pySPACE. Eg. csv files without names. To be called in the dataset directory.
Function Summary¶
main (md_file) |
|
get_numerical_user_input (msg) |
Request input, split it by ‘,’ and parse it for ‘-‘ |
get_user_input (msg) |
Request input |
parse_list (input_list) |
Replace range by explicit numbers |
check_delimiter (data) |
Checks delimiter to have length one |
generate_meta_data (data) |
Map data to the metadata.yaml string and set defaults |
write_md_file (meta_data, md_file) |
|
give_info (msg) |