tedana.io.OutputGenerator.add_dict_to_file
- OutputGenerator.add_dict_to_file(data, description, **kwargs)[source]
Add dictionary data to a JSON file, which may or may not exist.
- Parameters:
data (dict) – Data to merge into the file.
description (str) – Description of the data, used to determine the appropriate filename from
self.config.
- Returns:
name (str) – The full file path of the saved file.