avid.common.workflow.structure_definitions.loadStructurDefinition_xml

avid.common.workflow.structure_definitions.loadStructurDefinition_xml(filePath)

Loads a structure definition from an xml file. @param filePath Path where the structure definition is located. @return Returns a dictionary containing the definition. Key is the name of the structure. Value is either None (implying that the name is also the value, so no regulare expresion) or a pattern string (regular expresion) if given.