io#

elematic.api.io.import_granta_maptis_mmpds(input_file: str) MatML_Doc#

Converts a XLSX workbook from MAPTIS GRANTA MMPDS to a MatML_Doc.

Args:

input_file (str): filename location of the XLSX workbook

Returns:

MatML_api.MatML_Doc: result of the conversion

elematic.api.io.import_xml(input_file)#

Reads MatML information from an XML file. Currently does not validate the file.

Args:

inputFile (str): filename location of XML data.

Returns:

elematic.api.MatML_api.MatML_doc: the root element of the MatML data