pymrio.MRIOMetaData.save

MRIOMetaData.save(location=None)

Saves the current status of the metadata

This saves the metadata at the location of the previously loaded metadata or at the file/path given in location.

Specify a location if the metadata should be stored in a different location or was never stored before. Subsequent saves will use the location set here.

Parameters:filename (str, optional) – Path or file for saving the metadata. This can be the full file path or just the storage folder. In the latter case, the filename defined in DEFAULT_FILE_NAMES[‘metadata’] (currently ‘metadata.json’) is assumed.