waveform_collection.local.common module
- waveform_collection.local.common.check_file_exists(file)[source]
Checks that the specified file is present and readable.
- waveform_collection.local.common.check_file_extension(file, extension)[source]
Checks that the specified file has the correct extension.
- waveform_collection.local.common.load_json_file(file)[source]
Loads the specified JSON file (must have
.jsonextension) usingjson.load().- Parameters:
file (str) – Path to JSON file
- Returns:
The contents of the JSON file