tedana.io
.load_json
- load_json(path: str) dict [source]
Load a json file from path.
- Parameters:
path (str) – The path to the json file to load
- Returns:
data (dict) – A dictionary representation of the JSON data.
- Raises:
FileNotFoundError if the file does not exist –
IsADirectoryError if the path is a directory instead of a file –