@@ -41,10 +41,13 @@ def LMLparser(self, diagramName):
4141 """
4242 This method is designed to parse the xml file containing the MBSE model, to create its corresponding graph
4343 and to populate:
44- - the set of entities: dictionary of assets in the form of 'LML_ID': ('asset name', 'asset ID')
45- - the set of links: list containing the LML-IDs of all links between assets
46- - the set of embedded entities: dictionary of the components that have been specified in the description text of the
47- LML asset or link (e.g., [comp1,comp2,comp3]) in the form of 'LML_ID': [comp1,comp2,comp3]
44+
45+ * the set of entities: dictionary of assets in the form of 'LML_ID': ('asset name', 'asset ID')
46+
47+ * the set of links: list containing the LML-IDs of all links between assets
48+
49+ * the set of embedded entities: dictionary of the components that have been specified in the description text of the
50+ LML asset or link (e.g., [comp1,comp2,comp3]) in the form of 'LML_ID': [comp1,comp2,comp3]
4851
4952 Args:
5053
@@ -99,8 +102,8 @@ def parseLinkEntity(self, linkNode):
99102
100103 Args:
101104
102- linkNode: xml node, xml node containing containing all the information of a single link generated
103- in LML using Innoslate
105+ linkNode: xml node, xml node containing containing all the information of a single link generated
106+ in LML using Innoslate
104107
105108 Returns:
106109
@@ -130,8 +133,8 @@ def parseAssetEntity(self, entityNode):
130133
131134 Args:
132135
133- linkNode: xml node, xml node containing containing all the information of a single link generated
134- in LML using Innoslate
136+ linkNode: xml node, xml node containing containing all the information of a single link generated
137+ in LML using Innoslate
135138
136139 Returns:
137140
@@ -202,8 +205,8 @@ def returnEntities(self):
202205
203206 Returns:
204207
205- self.entities : dict, dict of entities
206- self.embEntities : dict, dict of embedded entities
208+ self.entities : dict, dict of entities
209+ self.embEntities : dict, dict of embedded entities
207210 """
208211 return self .entities , self .embEntities
209212
@@ -323,9 +326,9 @@ def parseEntityDescription(text):
323326
324327 Returns:
325328
326- out : tuple, tuple containing the list of elements specified in square brackets and separated
327- by commas (e.g., ['FV304,'305']) and the link to an external MBSE model
328- (e.g., ('centrifugalPumpFull', 'body'))
329+ out : tuple, tuple containing the list of elements specified in square brackets and separated
330+ by commas (e.g., ['FV304,'305']) and the link to an external MBSE model
331+ (e.g., ('centrifugalPumpFull', 'body'))
329332
330333 """
331334
0 commit comments