MCPcopy Create free account
hub / github.com/IfcOpenShell/IfcOpenShell / step_impl

Function step_impl

src/ifcbimtester/examples/steps/aggregation.py:25–30  ·  view source on GitHub ↗
(context)

Source from the content-addressed store, hash-verified

23
24@given("a set of specific related elements")
25def step_impl(context):
26 model = getattr(context, "model", None)
27 if not model:
28 context.model = TableModel()
29 for row in context.table:
30 context.model.add_row(row["RelatedObjects"], row["RelatingGroup"])
31
32
33@given('a set of specific related elements taken from the file "{path_file}"')

Callers

nothing calls this directly

Calls 15

formatMethod · 0.80
splitMethod · 0.80
valuesMethod · 0.80
TableModelClass · 0.70
openFunction · 0.50
setFunction · 0.50
add_rowMethod · 0.45
getMethod · 0.45
joinMethod · 0.45
findMethod · 0.45

Tested by

no test coverage detected