""" splits the routes of mould parts (design + mould)
"""
self.data=copy(data)
orders=self.data["BOM"]["orders"]
stations=self.data["BOM"]["stations"]
graph_data=self.data["graph"]
nodes=graph_data["node"]
fororderinorders:
orderComponents=order.get("componentsList",[])
forindex,componentinenumerate(orderComponents):
route=component.get("route",[])
design_step_list=[]
# for each step of the components route find out if it is of a design route (ENG - CAD) or of mould route (ASSM-INJM). If the route contains none of these technology-types steps then the component is normal
routeList=deepcopy(route)
i=0
forstepinrouteList:
stepTechnology=step.get('technology',[])
assertstepTechnologyinROUTE_STEPS_SET,'the technology provided does not exist'