def ImportCSVIntoArchi(fileArchimate, folder, subfolder, fileMetaEntity): start_time = ArchiLib.startTimer() logger.info(u"Using : %s" % fileArchimate) al = ArchiLib(fileArchimate) _ = al.logTypeCounts(ListOnly=True) al.insertNColumns(folder, subfolder, fileMetaEntity, CaseFix=False) al.outputXMLtoFile() relations = len(al.dictRel) nodes = len(al.dictND) logger.info(u"----------------------------------------------------------------------------------------") logger.info(u"Encountered %d errors and added %d Nodes and %d relations" % (len(al.listErrors), nodes, relations)) ArchiLib.stopTimer(start_time)